Because this app is utilizing the free version of Render, timing for pages to render may delay by a few seconds
Password
HTML |
CSS |
JavaScript |
Express |
React |
Node JS |
postgreSQL |
emailJS |
Auth0 |
CoffeeAPI |
User_id | Name | |
---|---|---|
Integer (Primary Key) | Text | Text |
post_id | User_Id | Beverage Name | Ingredients |
---|---|---|---|
Integer (Primary Key) | Text | Text | Text |
This project requires Auth0! Please visit Auth0 to make an account and retrieve a domain and clientid. See .env.example for set up!
Step 1: Clone my project & switch into the project directory.
git clone https://github.com/Yolisss/2.0JSCafeProject
cd 2.0JSCafeProject
Step 2: Install all packages.
cd client && npm install && cd ../server && npm install
Step 3: Setup Environment Variables
- Copy the instructions from both .env.example files in the client and server.
Step 4: Connect the database and the data.
cd server
psql postgres -f db.sql
Step 5: Start the program!
Method 1: Have two servers running at the same time.
cd client && npm start
// open a new terminal
cd server && npm start
Method 2: Have just one server running.
cd client && npm run build
cd server && npm run start
Note: Client will be running on http://localhost:3000 and server will be running on http://localhost:8080.
To run tests on the terminal, go to the Client side and run the following command:npm test