React application to provide the following features:
- Login page
- Profile page
- Register page
- Product page (to be implemented)
- Shopping cart (to be implemented)
- Cookies (Session token)
- Logout functionality
Steps to run locally:
Make sure you have the following applications installed and configured:
- Xampp for Windows and Linux
- Mamp for Mac
Example of Xampp on Windows:
- Clone Repo
- In a terminal, in the parent directory of the application:
npm install
- Utilize the script located in the
Database
folder, simply copy and paste or load the script and run it to load the database. - Once installation is finished:
npm start
- In select browser:
localhost:5005
- .env file configuration: Database info, such as password, host, jwt cookie configs(this is meant to be private, up to you really)
Here's an example:
Database setup:
- Once Xampp or Mamp is installed, navigate to
http://localhost/phpmyadmin/index.php
- Click new -> Create database, name it
columbus_marketplace
- Create database, then load the provided script in Database folder
Tech stack:
- Xampp (MySQL, and Apache)
- Handle-bars
- React
- Express
- Cookie Parser
- dotenv