Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ollymonger/whats-for-lunch

React TypeScript project which displays a random selection of food for lunch based on data fetched using an Express server & Prisma. Uses Material UI for formatting.
https://github.com/ollymonger/whats-for-lunch

Last synced: 25 days ago
JSON representation

React TypeScript project which displays a random selection of food for lunch based on data fetched using an Express server & Prisma. Uses Material UI for formatting.

Awesome Lists containing this project

README

        

# whats-for-lunch
React TypeScript project which displays a random selection of food for lunch.

## Images
![alt text](https://i.imgur.com/FtRJFfU.png)
![alt text](https://i.imgur.com/djw7GTR.png)

### Aims of this project
Have you had a hard time thinking of what to eat for lunch?
In this project, you will understand how I have used useEffect & useState hooks to gather LunchItems from a database using an Express server and prisma for Typescript!
Feel free to check this project out, and never feel hungry again!

### Available scripts

- `npm run start:server` = start the node server.
- `npm start` = start the front end.
- `npm ci` = delete node_modules and download most recent packages
- `npm run test` = run all available tests in src/testing/