Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nayak-nirmalya/nikeapi
This repository is the backend for Nike app that show popular shoes and user can add multiple shoes to cart. Made with JavaScript, MongoDB, Express.js & Node.js.
https://github.com/nayak-nirmalya/nikeapi
dotenv expressjs javascript mogodb nodejs
Last synced: 22 days ago
JSON representation
This repository is the backend for Nike app that show popular shoes and user can add multiple shoes to cart. Made with JavaScript, MongoDB, Express.js & Node.js.
- Host: GitHub
- URL: https://github.com/nayak-nirmalya/nikeapi
- Owner: nayak-nirmalya
- Created: 2023-07-02T08:59:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-04T08:09:46.000Z (over 1 year ago)
- Last Synced: 2024-11-21T20:30:38.627Z (3 months ago)
- Topics: dotenv, expressjs, javascript, mogodb, nodejs
- Language: JavaScript
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NikeApp Backend API
This repository is the backend for [Nike](https://github.com/nayak-nirmalya/NikeApp) app that show popular shoes and user can add multiple shoes to cart and make payment. Made with JavaScript, MongoDB, Express.js, Stripe API for Payment & Node.js.
Funcionalities:
- Get Products & Orders.
- Get Product & Order by ID.
- Create Order.
- Make Payment with Stripe API.### Prerequisites
**Node ^= 16**
### Cloning the repository
```shell
git clone https://github.com/nayak-nirmalya/NikeAPI.git
```## Running Project
Clone this Repository. Add your MongoDB instance URL and Stripe Secret Key in .env file as given in .env.example file.
### Setup .env File
```js
DATABASE_URL=
STRIPE_SECRET_KEY=
```Navigate to root directory and run the following npm command:
```shell
cd NikeAPI
npm run dev
```