drishit96 / api-boilerplate

Boilerplate code for API with authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Boilerplate

Boilerplate code for API with authentication.

Installing

  1. Run npm i command
  2. Add secrets and db details to the .env file
  3. If you want to use MongoDB, replace postgres with mongodb in .env file. Also, in User.ts file, follow the comments to properly setup mongodb
  4. Run npm start command

Built With

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Boilerplate code for API with authentication

License:MIT License


Languages

Language:TypeScript 97.0%Language:Shell 3.0%