- There are 2 role in Admin and User
- admin can manage CRUD of car
- admin can track rent history
- user can create account
- user can book muliple car.
- user can see their booking history.
- Express
- Mongodb
- Jwt
- Mongoose
- typescript
- zod
email: fahim@gmail.com password: 1234
Live Link : https://a-motors-backend.vercel.app/
- If you want to run this code into your local then follow the instruction.
- clone github repo
https://github.com/ashraf56/A-motors-backend.git
- opne your vs code terminal and write npm i
npm i
- create an env file and set env variable
Database_url= set here your mongodb database url
PORT= set your port
Node_Env= development
JWT_sec_Token = your token
- Run tsc -w in the terminal
tsc -w
- Run server on local
npm start