https://github.com/learning-zone/my-store-app
Shopping Cart using React, Redux, NodeJS and MySQL
https://github.com/learning-zone/my-store-app
jest-test mongodb mongoose nodejs reactjs redux redux-thunk
Last synced: 6 months ago
JSON representation
Shopping Cart using React, Redux, NodeJS and MySQL
- Host: GitHub
- URL: https://github.com/learning-zone/my-store-app
- Owner: learning-zone
- Created: 2021-09-06T04:00:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-30T04:28:03.000Z (over 3 years ago)
- Last Synced: 2025-06-28T21:36:01.682Z (10 months ago)
- Topics: jest-test, mongodb, mongoose, nodejs, reactjs, redux, redux-thunk
- Language: JavaScript
- Homepage:
- Size: 3.26 MB
- Stars: 10
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Store App
> *Click ★ if you like the project. Your contributions are heartily ♡ welcome.*
## Get Started
### 1. Prerequisites
- [Node.js](https://nodejs.org/en/) - Server
- [MySQL](https://www.mysql.com/downloads/) - Relational Database Management System
- [Visual Studio Code](https://code.visualstudio.com/download) - Code Editor
- [Git](https://git-scm.com/downloads) - Git
- [GitHub Desktop](https://desktop.github.com/) - Github Access tool
### 2. Installation
On the command prompt run the following commands:
```cmd
$ git clone https://github.com/learning-zone/my-store.git
$ cd my-store
$ cp .env.example .env (edit it with your secret key and database information)
$ npm install
$ npm run migrate
```
Finally, start and build the application:
```cmd
$ npm run build (For development)
$ npm run build:prod (For production)
```
List of NPM Commands:
```cmd
$ npm run lint # Linting
$ npm run clean # Remove dist and node_modules folder and install dependencies
$ npm ls # List dependent package
```
### 3. Usage
URL : http://localhost:3000/
Navigate to http://localhost:3000/swagger/ for the API documentation.
### 4. App Credential
```js
Username: pradeep.vwa@gmail.com
Password: P@ssw0rd
```
### 5. Technologies used in project
| Technology | Description |
|------------|----------------------------------------------|
|[Express](http://expressjs.com/)| Web framework for Node.js|
|[Bookshelf](http://bookshelfjs.org/)| JavaScript ORM for Node.js |
|[Knex](http://knexjs.org/) |SQL Query Builder|
|[jsonwebtoken](https://www.npmjs.com/package/jsonwebtoken)|JSON Web Tokens ( jwt )|
|[Winston](https://www.npmjs.com/package/winston)|Logging Library|
|[Joi](https://www.npmjs.com/package/joi) | Object schema validation|
|[swagger-jsdoc](https://www.npmjs.com/package/swagger-jsdoc)| API documentation |
|[swagger-ui](https://www.npmjs.com/package/swagger-ui)| API documentation |
|[React](https://facebook.github.io/react/) | JavaScript library for building user interfaces |
|[Redux](http://redux.js.org/) | Predictable state container |
|[Material-UI](https://material-ui-1dab0.firebaseapp.com/)| CSS framework|
|[Redux Form](http://redux-form.com/8.3.0/)| Redux Form |
|[React-Router](https://reacttraining.com/react-router/)| Declarative routing for React |
|[Axios](https://github.com/mzabriskie/axios) | Promise based HTTP client |
|[dotenv](https://www.npmjs.com/package/dotenv)| Environment configuration |
|[ESLint](http://eslint.org/) | Code linting tool|
|[Prettier](https://www.npmjs.com/package/prettier) | Code formatter|
|[Grunt](https://gruntjs.com/)|JavaScript Task Runner|