In order to install and run this project locally, you would need to have the following installed on you local machine.
-
Clone this repository
-
Navigate to the project directory
-
Run
npm installoryarnto instal the projects dependencies -
create a
.envfile and copy the contents of the.env.samplefile into it and supply the values for each variable
cp .env.sample .env- Create a MySQL database and run the
sqlfile in the database directory to migrate the database
mysql -u <dbuser> -D <databasename> -p < ./src/database/database.sql-
Start the
redisserver -
Run
npm run devto start the app in development -
Run
npm testto test the app in development