CRUD application designed to manage a database of football players and their agents.
If you have any kind of feedback, please let me know, I will appreciate it.
Feel free to send me an
email or message me on
Linkedin.
Frontend: React, Typescript, scss
Backend: Express, Typescript, PostgreSQL
https://players-manager.herokuapp.com
-
Get yourself a PostgreSQL database, and make sure you have its connection string.
(You can ask me for my own database connection string) -
In the backend folder, create a ".env" file, add the following text:
DATABASE_URL=<connection_string>
-
If you don't want to generate players and clubs for the local db, you can skip this step.
Add the following text to the '.env' file:
FOOTBALL_API_KEY=<key>
"key" should be your own football-api key.
You can get one here. -
In the backend folder, run the following commands:
npm ci npm run initDb (note: this one might take some time) npm start
Now your server should be up and running.
Note: all the following steps should be run from a different terminal. -
In the frontend folder, run the following commands:
npm ci npm start