REST API for Kuwot app
| .vscode | ||
| public | ||
| src | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| testLoad.js | ||
| testRateLimit.js | ||
| tsconfig.json | ||
kuwot-api-js
A Node.js REST API built with TypeScript and Express.
Getting Started
Prerequisites
- Node.js >= 18
- npm
Installation
npm install
Configuration
- Copy
.env.exampleto.envand fill in your secrets:cp .env.example .env - Set your Unsplash access key and other variables in
.env. - Download
quotes.dband put it in the project root directory.
Running the Server
npm start
Formatting Code
npm run format
Recommended VS Code Extensions
- ESLint
- Prettier
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
MIT