-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from shammy642/shammy642-readme-patch-1
Update README.md
- Loading branch information
Showing
1 changed file
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
Environment Variables: | ||
# Poké Poké Guess Weight! | ||
A quick-fire online multiplayer game where users simultaneously guess pokemon's weights. | ||
|
||
api/.env | ||
# Installation: | ||
- Clone this github! | ||
- Run `npm i` in the root, frontend and api folders. | ||
- In api folder, add a .env file with the following contents: | ||
`CORS_ALLOWED_URL="http://localhost:5173` | ||
`PORT=3001` | ||
`TIMER=20` | ||
- In the frontend folder, add a .env file with the following contents: | ||
- `VITE_BACKEND_URL="http://localhost:3001"` | ||
|
||
- run `npm run dev` in frontend and api folders. | ||
- visit http://localhost:5173 in your browser | ||
|
||
NODE_ENV="development" | ||
JWT_SECRET="secret" | ||
CORS_ALLOWED_URL="http://localhost:5173" | ||
PORT=3001 | ||
TIMER=10 | ||
|
||
frontend/.env | ||
|
||
VITE_BACKEND_URL="http://localhost:3001" | ||
# Tech Used | ||
- Javascript | ||
- NodeJS | ||
- Express | ||
- PokeAPI | ||
- React | ||
- Tailwind |