This project was done using open source code, feel free to use it as you want!
Technologies used:
- Node.js
- DotEnv
- Express
- Nodemon
- Socket.io
- Ant Design
- React
- Redux
- Babel
Configuration:
After cloning the respository, install the dependencies:
yarn install
or
npm install
Then proceed with the creation of your .Env file to store your environment variables, this were the ones that i used:
Backend:
# Environmental Connection Test:
ENV_STATUS=connected
# MongoDB variables
DB_USER=*** #MongoDB Atlas User
DB_PASS=*** #MongoDB Atlas Pass
DB_NAME=(pick whatever name you want)
# JWT Secret String
SECRET=(generate a hash with the service of your preference)
Usage:
You can opt to run the instances separately, but i've configured a script to run both (frontend and backend) with this command:
yarn dev
or
npm dev
Here's my project deployed to Heroku: