A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
-
Copy
.env-template
and rename for.env
-
Replace
.env
content by
PORT=3000
HOST=localhost
SSL=http
MONGO_DB=<url-mongo>
MONGO_NAME=
MONGO_USER=
MONGO_PASS=
DB_HOST=
DB_PORT=
DB_NAME=
DB_USER=
DB_PASSORD=
JWT_SECRET=
- Install dependencies
npm install
- Run project on dev
npm run start:dev
- Run project on production
npm run start:prod
-
Open browser on swagger page:
http://localhost:3000/api
-
URL base route:
http://localhost:5173/#/api