A simple app that allows you to display, add, change and remove products.
- User authentication: Sign up, log in, log out
- Product management: Display, add, modify and delete products from the database [(CRUD)]
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 |
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 |
For installation & running the app best use: Yarn - Dependency Management
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.
Same as frontend, run "yarn install" for the dependencies. Afterwards run "nodemon ." in the terminal. This will start the server on port 4009.
I'm running a docker container (port 5432) with a Postgres DB. A local DB should work as well.
- React - The web framework used for frontend
- Redux - State manager for React
- Bootstrap 4 - Styling
- TypeOrm - TypeScript focused ORM for the backend.
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.
Feel free to use as you see fit.
- SignUp, LogIn / LogOut uses parts of Codaisseurs boilerplate code.