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
- Host: GitHub
- URL: https://github.com/nazim1971/n-mart-server
- Owner: nazim1971
- Created: 2024-08-14T18:31:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-17T17:13:30.000Z (almost 2 years ago)
- Last Synced: 2025-02-13T15:18:41.481Z (over 1 year ago)
- Topics: cors, express-js, mongoose, nodejs
- Language: JavaScript
- Homepage: https://n-mart-server.vercel.app
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).