Backend for the Phonebook application built as part of the Full Stack Open course by the University of Helsinki.
This backend provides a RESTful API for managing contacts.
-
Frontend: Phonebook App
-
Backend API:Phonebook API
The following endpoints are available:
- GET /api/persons
- GET /api/persons/:id
- POST /api/persons
- PUT /api/persons/:id
- DELETE /api/persons/:id
- Node.js
- Express
- MongoDB
- Mongoose
- dotenv
- Morgan
- PM2 for Node.js process management
- Nginx as a reverse proxy
- Hosted on a virtual private server
- GitHub Actions for deployment automation.
MONGODB_URI=<YOUR_MONGODB_URI>
PORT=<PORT_NUMBER>
npm install
npm start
The frontend is built using React and compiled into production build.
MIT