This app is generated via fastify-cli generator.
- Typescript
- REST APIs versoning enabled - /api/v1 , api/v2
- Admin Panel routing enabled - /admin
- Swagger enabled for APIs docs.
- Admin Login setup with user's CURD
- Deployment Setup via PM2, Docker, Kubernetes
- Unit Testing
Clone repo , install the dependencies and devDependencies and start the server.
git clone https://github.com/raviroshanmehta/fastify-typescript-mongoose
cd fastify-typescript-mongoose
npm i
cp .env.example .env
npm run dev
For production environments...
git clone https://github.com/raviroshanmehta/fastify-typescript-mongoose
cd fastify-typescript-mongoose
npm i
cp .env.example .env
npm start
If your app didn't started, You need to check error. Or create an issue if still you are stuck.
Link | Link |
---|---|
Home Page | http://127.0.0.1:5000 |
Seed Admin Record | http://127.0.0.1:5000/api/seed |
Admin | http://127.0.0.1:5000/admin |
API V1 | http://127.0.0.1:5000/api/v1 |
API V2 | http://127.0.0.1:5000/api/v2 |
APIs Root | http://127.0.0.1:5000/api |
MIT
Free Software, Hell Yeah!