Git Product home page Git Product logo

ecommerce-app-frontend's Introduction

Ecommerce App

A simple app that allows you to display, add, change and remove products.

1. Functionality:

Frontend:

  • User authentication: Sign up, log in, log out
  • Product management: Display, add, modify and delete products from the database [(CRUD)]

Backend / Routes:

Admin routes:

URI VERB ACTION
/users/ GET Get all users
/users/:id GET Get single user
/users/ POST Add user
/users/:id PUT Edit single user
/users/:id DELETE Delete single user

Product routes:

URI VERB ACTION
/products/ GET Get all products
/products/:id GET Get single product
/products/ POST Add single product
/products/:id PUT Edit single product
/products/:id DELETE Delete single product

2. Installation & Prerequisites

For installation & running the app best use: Yarn - Dependency Management

Frontend:

Open terminal, go to frontend folder, run "yarn install" start or "npm install" depending on your setup. Then run "yarn start" or "npm start" This will run the app on port 3000 in your web browser.

Backend:

Same as frontend, run "yarn install" for the dependencies. Afterwards run "nodemon ." in the terminal. This will start the server on port 4009.

Database:

I'm running a docker container (port 5432) with a Postgres DB. A local DB should work as well.

3. Copyright etc.

Build with:

  • React - The web framework used for frontend
  • Redux - State manager for React
  • Bootstrap 4 - Styling
  • TypeOrm - TypeScript focused ORM for the backend.

Authors

Friedrich Striewski See also https://github.com/agroXchange/frontend and https://github.com/agroXchange/backend for a full grown market place project I have contributed to.

License

Feel free to use as you see fit.

Acknowledgments

  • SignUp, LogIn / LogOut uses parts of Codaisseurs boilerplate code.

ecommerce-app-frontend's People

Contributors

fstriewski avatar

Stargazers

 avatar

Watchers

 avatar

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.