This project is an app build in order to be part of the recruitment process of a Fullstack Devloper Apprentice at The Bradery.
- Display all products and filter by category
- Select a product quantity and add it to the cart
- Review the cart, remove some products
- Input name, email and credit card to validate the order. Disclaimer: payment information are dummy fields, to avoid any confusion on data collection.
Server: Node, Express
Client: React, NextJS
Database: MySQL
Before you begin, ensure you have the following prerequisites installed on your computer:
- MySQL - Relational database management system.
- Node.js - JavaScript runtime.
- Nodemon - (Assuming you have this installed globally).
Import the database schema and content using the provided file braderydb.sql
by running
mysql -u root -p < braderydb.sql
Clone the repository
git clone https://github.com/michaelrasolo/thebradery-back
Install the dependencies
yarn install
Create a .env file at the root and set MySQL environment variables
DB_HOST
: your connection nameDB_USER
: your user nameDB_PWD
: your passwordDB_NAME
: your schema name
Run the application
nodemon
Use the local URL to perform API calls
http://localhost:5050
Clone the repository
git clone https://github.com/michaelrasolo/thebradery-front
Install the dependencies
yarn install
Run the application
yarn dev