Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sm-noushan/jtask-ph-server
SuperShop is an innovative e-commerce platform designed to provide users with a seamless and engaging shopping experience.
https://github.com/sm-noushan/jtask-ph-server
cors expressjs mongodb mvc nodejs
Last synced: about 1 hour ago
JSON representation
SuperShop is an innovative e-commerce platform designed to provide users with a seamless and engaging shopping experience.
- Host: GitHub
- URL: https://github.com/sm-noushan/jtask-ph-server
- Owner: SM-Noushan
- Created: 2024-08-16T21:09:40.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-17T13:35:35.000Z (6 months ago)
- Last Synced: 2024-12-08T21:45:59.113Z (about 2 months ago)
- Topics: cors, expressjs, mongodb, mvc, nodejs
- Language: JavaScript
- Homepage: https://supershop-jtask-ph-by-sm-nowshan.vercel.app
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SuperShop: All In One
## Overview
This repository contains the server-side code for the SuperShop application.
- [Live-Site](https://supershop-jtask-ph-by-sm-nowshan.vercel.app)
- [Client-Repo](https://github.com/sm-noushan/jtask-ph-client)## Setup
### Prerequisites
Before you begin, ensure you have the following installed on your system:
- [Git](https://git-scm.com/downloads)
- [Node.js](https://nodejs.org/) (LTS version recommended)### Installation
1. **Clone the repository**:
```bash
git clone https://github.com/sm-noushan/jtask-ph-server
cd jtask-ph-server
```2. **Install dependencies**:
```bash
npm install
```3. **Environment Setup**: Rename `.env.rename` to `.env` in the root directory of the project and add `MongoDB URL` with your specific configuration.. (**Important!**)
4. **Running the Server**: If you don't have nodemon installed globally, you can use npx:
```bash
npx nodemon index.js
Installing Nodemon Globally
```**Or**
If you prefer to install nodemon globally, use the following command:```bash
npm install -g nodemon
```**Then**, to run the server locally, use the following command:
```bash
nodemon index.js
```This will start the server and make your API accessible at [http://localhost:8000](http://localhost:8000) (or your specified port).
## Frontend Setup
For detailed information, refer to the [Run the Project Locally](https://github.com/sm-noushan/jtask-ph-client) in the front-end repository's `README.md`. (**Important!**)
Thank you!