Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sakilk130/mern-e-shop
MERN E-commerce
https://github.com/sakilk130/mern-e-shop
expressjs mern mern-stack mongodb nodejs react react-redux redux typescript
Last synced: about 1 month ago
JSON representation
MERN E-commerce
- Host: GitHub
- URL: https://github.com/sakilk130/mern-e-shop
- Owner: sakilk130
- Created: 2022-01-26T10:14:51.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-24T04:55:28.000Z (10 months ago)
- Last Synced: 2024-11-08T06:11:46.124Z (3 months ago)
- Topics: expressjs, mern, mern-stack, mongodb, nodejs, react, react-redux, redux, typescript
- Language: TypeScript
- Homepage:
- Size: 1.33 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MERN E-Shop (MongoDB, Express, React, Node)
## About
Simple e-commerce site build with [MongoDB](https://www.mongodb.com/) , [Express](https://expressjs.com/) , [React](https://reactjs.org/) and [Node](https://nodejs.org/).
## Getting Started With API
First clone this repository.
```
git clone https://github.com/sakilk130/mern-e-shop.git
```Install dependencies. Make sure you already have [`nodejs`](https://nodejs.org/en/) & [`yarn`](https://yarnpkg.com/) installed in your system.
```
yarn
```Copy .env.example to .env and fill all the values.
```
cp .env.example .env
```Typescript Compilation
```
yarn watch
```Run the api server.
```
yarn api:dev
```Data Import
```
yarn data:import
```## Getting Started With Client
Go to [`./client`] directory and Install dependencies.
```
yarn
```After that, go back root directory
```
cd ..
```Run the client server
```
yarn client
```Admin Login
```
email: [email protected]
password: 123456
```User Login
```
email: [email protected]
password: 123456
```## Built with
### API
- NodeJS
- ExpressJS
- MongoDB
- Mongoose
- Nodemon
- Colors
- Express async handler
- JWT
- TypeScript### Client
- React
- Redux
- React-Redux
- Redux-Thunk
- React-Router-Dom
- React Bootstrap
- TypeScript## Author
Sakil Khan
[@sakilk130](https://github.com/sakilk130)