/e_store

Ecommerce Store application (PWA) build with Node.js, GraphQL, React.js, Redux, Prisma (ORM), PostgresSQL, and React-admin

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

E - Store

Node.js, GraphQL, React.js, Redux, Prisma (ORM), PostgresSQL, and React-admin

GitHub license

npm version

Ecommerce Store application build with Node.js, GraphQL, React.js, Redux, Prisma (ORM), PostgresSQL, and React-admin

Features!

  • Add / Update / Delete Products
  • Add / Update / Delete Orders
  • Add / Update / Delete Cart
  • Add / Update / Delete Users

Tech

E - Store uses a number of open source projects to work properly:

  • NodeJS - A JavaScript runtime built on Chrome's V8 JavaScript engine.

  • ReactJS - A JavaScript library for building user interfaces.

  • Redux - An open-source JavaScript library for managing application state.

  • GraphQL - An open-source data query and manipulation language for APIs,

  • PostgreSQL - PostgreSQL, A free and open-source relational database management system.

Installation

E - Store requires Node.js to run.

Set environment variables

$ git clone https://github.com/phondani0/ecommerce_store.git

$ Create a .env file in your server and client folder
$ See the .env sample
create a postgresql database and add your connection string into .env file

Install the dependencies and devDependencies

Start the server.

$ cd server 
$ npm install
$ `npx prisma migrate dev --name <your migration name>` or `npx prisma db push`
$ npm start

Start the client.

$ cd client 
$ npm install 
$ npm start

Plugins

E - Store is currently extended with the following plugins. Instructions on how to use them in your own application are linked below.

Server

Plugin README
bcryptjs plugins/bcryptjs/README.md
jsonwebtoken plugins/jsonwebtoken/README.md
multer plugins/multer/README.md
nodemailer plugins/nodemailer/README.md
nodemon plugins/nodemon/README.md

Client

Plugin README
fullcalendar plugins/fullcalendar/README.md
material-ui plugins/material-ui/README.md
moment plugins/moment/README.md
jspdf plugins/jspdf/README.md
react plugins/react/README.md
react-facebook-login plugins/react-facebook-login /README.md
react-google-login plugins/react-google-login/README.md
react-redux plugins/react-redux/README.md
react-router-dom plugins/react-router/README.md
react-slick plugins/react-slick/README.md
redux plugins/redux/README.md

Todos

  • Add Light Mode / More themes

Screenshots!

Home Page

Home Page

License

MIT