Skip to content

CRUD application designed to manage a database of football players and their agents

Notifications You must be signed in to change notification settings

ofer-shaham/Players-Manager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Players-Manager

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.

Built with:

Frontend: React, Typescript, scss
Backend: Express, Typescript, PostgreSQL


Live Application

https://players-manager.herokuapp.com


Run Locally:

  1. Get yourself a PostgreSQL database, and make sure you have its connection string.
    (You can ask me for my own database connection string)

  2. In the backend folder, create a ".env" file, add the following text:
    DATABASE_URL=<connection_string>

  3. 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.

  4. 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.

  5. In the frontend folder, run the following commands:

    npm ci
    npm start

Now your own local players-manager should be up and running!

About

CRUD application designed to manage a database of football players and their agents

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 68.0%
  • SCSS 18.3%
  • JavaScript 12.6%
  • HTML 1.1%