Welcome to OnTrack! OnTrack is an app designed to help you set goals, and create corresponding tasks to be completed at some specified consistency (daily, weekly, monthly, etc). It is easy for people to give up on their goals, or skip tasks when there is nothing keeping track for them. The idea of this app is to track your goals and tasks, and moreover keep track of how well you've been keeping to them. Think of duolingo or snapchat; the main reason users use them everyday, for 100+ days at a time, is to keep their streak. OnTrack uses the same incentive to motivate its users to continue progressing on their goals.
OnTrack is being build on a MERN tech-stack (MongoDB/Mongoose, Express, React.js, and Node.js). If you don't know already, MERN and MEAN are two of the most common tech-stacks in web-development. MongoDB is the database in which the app stores any percistent data, Express.js is a backend Node.js based framework which helps us develop in a RESTful manner (following the REST architecture set of principles), React which is a Javascript library used to help develop our front-end, and lastly Node.js for running our server.
The co-designers and co-developers for this application are two Computer Science Majors Adam Lin, and Kyle Newbigging. We are always looking for advice and constructive criticism on how we can improve as developers, so please let us know your thoughts on our current implementation :)
-
Clone the repository
git clone https://github.com/AdamLinCodes/OnTrack.git -
Change directories into
/on-trackthen install dependenciescd on-track && npm i -
Do the same for the
/backend,cd backend && npm i -
In the
/backenddirectory, create a file called.env. In this file, create a new environment variable calledATLAS_URIand assign it the value of your mongoDB URI. Make sure to add your credentials to the URI.echo 'ATLAS_URI=<YOUR MONGODB URI HERE>' > .env -
Open two terminals. One will run your front end, and the other will run the backend.
a) In terminal 1, cd into
/on-trackand runnpm startb) In terminal 2, cd into
/backkendand runnode server.js