This repository contains the backend code for Part 3 of the Full Stack Open course, focused on building a RESTful API for a phonebook application using Node.js, Express, and MongoDB.
- Express: REST API setup with routes for contacts.
- MongoDB: Data storage with Mongoose models.
- Middleware: For logging, error handling, and CORS.
- Environment Variables: Configuration using
.envfor sensitive data. - Linting: Configuration and usage of ES Lint
- Clone this repository.
- Install dependencies:
npm install
- Set up MongoDB database and add the MONGODB_URI to .env
> cd backend
> npm install
> npm build:ui
> npm run devYou can visit a deployed version of the app here