Momentum is a productivity web app designed with the intent to allow people to track tasks they need to do and mark them as done when completed, this lets people see a visual indicator of how much stuff they have achieved and what needs to be done.
The front end side of the site is composed of React, TailwindCSS, and plain CSS whilst the back end is built using Flask and SQLAlchemy. The fetch API is used to make requests to the server and Flask is used to handle those requests, and SQLAlchemy handles all database interactions.
To run this application you need to have Node.js and Python installed on your machine. You will also be required to install the necessary packages.
Once you have downloaded all files and extracted them, do the following:
- Open the terminal by press Win + S and selecting Command Prompt
- In the terminal execute the following:
cd path/to/foldernpm installcd backendpip install -r requirements.txtpython app.py- Open a new instance of the terminal
- Execute the following:
cd path/to/foldercd frontendnpm installnpm run dev
The website will now open in a new tab in your browser and is ready to use.