An open API service indexing awesome lists of open source software.

https://github.com/nazim1971/n-mart-server


https://github.com/nazim1971/n-mart-server

cors express-js mongoose nodejs

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# N-mart Server

The server-side of the N-mart project is built with Node.js and Express, following the MVC (Model-View-Controller) pattern. It handles all backend operations, including database interactions, API routes, and middleware.

## Technologies Used
- Express
- CORS
- Mongoose
- Dotenv

## Getting Started

### Setup
1. Clone the repository:
```bash
git clone https://github.com/nazim1971/N-mart-server.git
```
2. Create a `.env` file in the root directory.
3. Add the following environment variable with your MongoDB URI:
```plaintext
MY_DB=your_mongodb_uri
```
4. Install the necessary packages:
```bash
npm install
```
5. Run the development server:
```bash
npm run dev
```

## Contact
For any questions or support, please reach out to [nazimmuddin10@gmail.com](mailto:nazimmuddin10@gmail.com).