https://github.com/mstephen19/nooro-todo-task
https://github.com/mstephen19/nooro-todo-task
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mstephen19/nooro-todo-task
- Owner: mstephen19
- Created: 2025-01-26T11:18:56.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-27T04:52:12.000Z (4 months ago)
- Last Synced: 2025-02-03T04:16:39.798Z (4 months ago)
- Language: TypeScript
- Size: 110 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nooro Todo App Take-Home Task
This project is a basic todo app built using the following technologies:
- TypeScript
- Node.js
- MySQL
- Prisma ORM
- Next.js
- Tailwind CSS
- DockerAs this is a just a take-home task, the project is only configured to run in a development setting.
## Run on your machine
1. Install [Docker](https://www.docker.com/)
2. Start the Docker daemon
3. Run the following command at the root of this project:```shell
docker compose up
```Once the MySQL server & HTTP server have started, the client application will start in `dev` mode. It can be accessed via `http://localhost:3000`.
## Moving forward
Given that the time spent on this project was capped at 6 hours, there are a few things that are left to be improved:
1. Client-side error messaging. For the sake of time, `alert()` is used to notify the user of errors.
2. SSR error messaging - `error.tsx` should be added to notify the user of 500 errors.
3. Make API routes more composable - currently the `app.route().METHOD()` configurations are slightly repeating themselves.The next feature in this app would likely be the addition of a `User` table in the DB, and login functionality.