A web app designed to share and find recipes.
-
Install Docker from here.
If you're on Linux, you will also need to install docker-compose by following the instructions found here.
-
Setup Twilio
Instructions can be found here.
-
Finally run these commands to get up and running.
git clone https://github.com/CookUpApp/cookup.git
cd cookup
# The port the app will listen on
# Use "PORT=$PORT" for cloud9 sessions
echo "PORT=8080" > .env
echo "SESSION_KEY=..." > .env
echo "TWILIO_SID=....." > .env
echo "TWILIO_TOKEN=....." > .env
# Number received from Twilio
echo "TWILIO_NUMBER=+1.........." > .env
# Optional, only required for production
echo "MONGO_URL=........" > .env
docker-compose up
heroku container:login
heroku create --buildpack heroku/nodejs
heroku container:push web
heroku container:release web
All dependency files are are owned by the node user within their respective containers.
DO NOT RUN npm install
OR npm i
IN BACKEND OR FRONTEND.
npm run add -- PACKAGES ... ARGS ...
jsx-a11y/label-has-associated-control
was set to"assert": "either"
since our forms had mixed label locations for styling.jsx-a11y/anchor-is-valid
was set tooff
since out css framework had a heavy use of anchor buttonsfunc-names
was set to off as we needed functions with a contextual this in our database schema