An demonstration of REST API's written using TypeScript, Express, Mongoose and MongoDb.
- Secured using json web tokens
- Produt API's to demonstrate data modelling and persistence capabilites
Node.jsTypeScriptMongooseMongoDBjwtNPMjest
To run the project in your local environment, follow these steps:
- Clone the repository to your local machine.
- Run
npm installto install all the dependencies locally. - Update default config in
config/default.tsin the project directory - Run
npm run startto get the project started. - Server can be found running on [http://localhost:1994].
- Register as user, generate a token and use the same to access the product API's