Giter VIP home page Giter VIP logo

pern-store's Introduction

Codacy Badge Netlify Status wakatime

PERN STORE

A full-stack e-commerce project built with Postgres, Express, React and Node.

Swagger API Documentation

Documentation

Demo

Run demo

Screenshots

Homepage Screen Shot

Database Schema

ERD

Run Locally

Clone the project

  git clone https://github.com/dhatguy/PERN-Store.git

Go to the project directory

  cd PERN-Store

Install dependencies

  npm install

Go to server directory and install dependencies

  npm install

Go to client directory and install dependencies

  npm install

Go to server directory and start the server

  npm run dev

Go to client directory and start the client

  npm run client

Start both client and server concurrently from the root directory

  npm run dev

Running with docker

Make sure you have Docker installed

Run the development environment

docker-compose -f docker-compose.dev.yml up

Run the production environment

docker-compose up

Go to http://localhost:3000 to view the app running on your browser.

Deployment

To deploy this project run

  npm run deploy

Check this article for guidance on how to deploy.

Tech

Environment Variables

To run this project, you will need to add the following environment variables to your .env files in both client and server directory

client/.env

VITE_GOOGLE_CLIENT_ID

VITE_GOOGLE_CLIENT_SECRET

VITE_API_URL

VITE_STRIPE_PUB_KEY

server/.env

POSTGRES_USER

POSTGRES_HOST

POSTGRES_PASSWORD

POSTGRES_DATABASE

POSTGRES_DATABASE_TEST

POSTGRES_PORT

PORT

SECRET

REFRESH_SECRET

SMTP_FROM

STRIPE_SECRET_KEY

Contributing

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Feedback

Joseph Odunsi - @odunsi - [email protected]

Project Link: https://github.com/dhatguy/PERN-Store

Demo Link: https://pern-store.netlify.app

pern-store's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pern-store's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.