Skip to content

Web app to help randomize office lunch outings

Notifications You must be signed in to change notification settings

1yzo/lunch-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

npm install then npm start

Tests

npm test

Approach

I stored all users as an array of objects in the root parent component's data and passed necessary information as props to the UserList and Modal components. If you have already had coffee or lunch with another user, a coffee/lunch icon is displayed next to that user's name. When a user clicks "Get Coffee" or "Get Lunch", the result is displayed in a modal. The array of users is persisted using localStorage whenever a user object is added or updated.

About

Web app to help randomize office lunch outings

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published