Let's dive into the setup process:
Start by installing the necessary dependencies:
npm install
# or
yarn install
# or
pnpm install
Create a new cluster on MongoDB and grab the URI.
Check the .env.example
file for guidance on creating the variable and paste the URI.
Now, fire up the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
docker-compose up -d --build
Open http://localhost:8080/api/docs/ in your browser to access the API documentation locally or https://users-api-crud.vercel.app/api/docs/ to open the documentation online.
This API was built with:
- Typescript
- NodeJs
- Nodemon
- Express
- Mongoose