TYPEST
Typest is a Typescript Rest API build on MongoDB database using Node and Express.
Features:
- Environment, Typescript, Nodemon setup
- MongoDB & Mongoose connect, Database creation
- Controllers creation
- Middlewares creation
- Cookie based authentication
- Postman testing
- Create, Read, Update and Delete - CRUD
Prerequisites
Node version 14.x
Cloning the repository
git clone https://github.com/arjunan-k/Typest
Install packages
npm i
Setup MongoDB URL
In src/index.ts
:
const MONGO_URL = ""; // DB URI
Start the app
npm start
Available commands
Running commands with npm npm run [command]
command | description |
---|---|
start |
Starts a development instance of the app |