Based on https://www.youtube.com/watch?v=I6ypD7qv3Z8&t=13455s, but using React and Bootstrap for the front end.
https://lireddit.craigstroman.com/
- git clone https://github.com/craigstroman/lireddit-server.git
- cd lireddit-server
- Run
npm install - Create database in PostgreSQL and set database password, add database user, set password in .env file
- Run the following
brew install redisand then runbrew services start redis- If you are on Ubuntu run
sudo apt updatethensudo apt install redis-serverand thensudo systemctl start redis-serverandsudo systemctl enable redis-server
- If you are on Ubuntu run
- Run
npm run live:serverto start development environment - Then go to http://localhost:9000/graphql