FAOEuFMD / Targets-dashboard

An open-source dashboard that tracks the completion of yearly EuFMD Program Targets until the year 2027.
https://milestones-dashboard-staging.onrender.com/
1 stars 0 forks source link

milestones-dashboard

An open-source dashboard that tracks the completion of yearly EuFMD Program Targets until the year 2027.

Built With

Setup

Dependencies

Run npm install in the project folder to install dependencies related to Express (the server). Check if the following dependencies are installed, otherwise install with the commands:

Type cd client in the terminal and run npm install to install dependencies related to React TypeScript (the client). Check if the following is installed:

Database Prep

Create .env file in project directory and add

  DB_HOST=localhost
  DB_USER=root
  DB_NAME=dashboard
  DB_PASS=YOUR_PASSWORD
  SUPER_SECRET=YOUR_PASSWORD

(replace YOUR_PASSWORD with your actual password)

Type mysql -u root -p in the terminal to access MySQL and type your password.

In the MySQL terminaL, type CREATE database dashboard; to create a database in MySQL.

Run npm run dev in your terminal in the project folder. This will create the following the table milestones

Development

Deployment

The staging environment is deployed here on Render: https://milestones-dashboard-staging.onrender.com/