Skip to content

Whats Next? aims to be THE todo app that helps you get tasks done

Notifications You must be signed in to change notification settings

saadberry/whatsnext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What's next?

image

"Don't stop when you're tired. Stop when you're done."

"What's next?" aims to be a minimislitc todo app, pushing the user to constant tunnel vision - to help them strike procrastination.

Screenshots

WhatsApp Image 2024-12-24 at 13 45 54_1c357da7

Setting up project

  • Clone this repo
    • Server
      • Head to /server and run npm install (this ensures you have all the necesary packages)
      • To start the development server, run npm run dev - This should fire up the server 🚀
    • WebApp
      • Head to /webapp and run npm install (this ensures you have all the necesary packages)
      • To start the app, run npm run dev 🚀

API documentation

  1. POST /v1/api/user/signup
Endpoint handling Signup.
Expects the following parameters:
  - Name
  - Email
  - Password 
  1. POST /v1/api/user/login
Endpoint handling Login
Expects the following parameters:
  - Email
  - Password 
  1. POST /v1/api/todo/
Endpoint handling Todo creation
Expects the following parameters:
  - Title
  - Description 
  1. GET /v1/api/todo/
Endpoint that fetches a user's todo's 
  1. PUT /v1/api/todo/
Endpoint handling Todo updation
Expects the following parameters:
  - Title
  - Description
  - Status
  1. DELETE /v1/api/todo/
Endpoint handling Todo deletion
Expects the following parameters:
  - Id of record

Deployment

  • The server is hosted on Railway
  • The webapp is hosted on Vercel
  • For both deployments, the following process was done:
    • Connect GH repo to the respsective services
    • Configure directory
    • Once that's done, any subsequent push to the respective directories would trigger re-deployment
  • The database is hosted on Railway as well
    • Connecting to DB from server:
      • Create Mongo project
      • Use Set MONGO_URI in variables of server to PUBLIC_URL of DB

Design considerations

  • The app is intentionally designed with simplicity in mind to minimize distractions, in hopes to allow users to focus on the core functionality, helping them complete their tasks.
  • The title: "What's next?" aims to keep the user pushing, constantly asking themselves, "what's next?"

About

Whats Next? aims to be THE todo app that helps you get tasks done

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published