The backend is live on https://ideabyte.herokuapp.com.
Run the create-env.sh
script first, to copy .env.schema
into .env
.
./create-env.sh
Then you fill the env variables. Remember to install and make sure MongoDB is running on your machine.
# change these
DB_URL=mongodb://localhost:27017
DB_NAME=ideabyte
SECRET=this_is_your_secret
yarn start
Then open http://localhost:8000
.
You can use Heroku or Google Cloud Platform to deploy. Remember to change the environment variables as well.
DB_URL=
DB_NAME=
SECRET=
mkdir projectname-backend
cd projectname-backend
npm init -y
MIT License