https://github.com/polypasc/notes-server
https://github.com/polypasc/notes-server
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/polypasc/notes-server
- Owner: PolyPasc
- Created: 2025-03-05T14:20:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-05T14:49:37.000Z (over 1 year ago)
- Last Synced: 2025-03-05T15:35:13.656Z (over 1 year ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Note-Taking App Back-End
This is a Node.js back-end application that provides a RESTful API for managing notes. It uses MongoDB Atlas as Database.
## Technologies Used:
- **Node.js**
- **Express.js**
- **Mongoose** for MongoDB integration
### Features:
- Retrieve all notes.
- Create a new note.
- Update an existing note.
- Delete a note.
### Getting Started:
1. **Clone the Repository**:
```bash
git clone https://github.com/PolyPasc/notes-server.git
```
2. **Install Dependencies**:
```bash
cd server
npm install
```
3. **Start the Server**:
```bash
node index.js
```
4. **Access the API**:
The API is available at `http://localhost:${PORT}`. `PORt` of your chioce in `.env`.
---
### Make sure these are in your `.env`
- MongoDB Atlas URL and MongoDB Database-name
- Add you secret for JWT
- Add Cors origin