Nutshell is an application that enables a user to organize their daily tasks, events, news articles, friends, and chat messages.
- Functions
- Databases
- Github
- Objects
- CSS/Flexbox
- Array methods
- Components
- Handling user events
- Implementing CRUD operations
- Relational data
- ERDs
Make sure you have Node.js and npm installed. After those are installed, make sure you use npm to install serve and json-server.
git clone
the repository URLcd
into the directory it createstouch api/database.json
- Delete the
.ignore
file in theapi
directory touch src/scripts/Settings.js
- Visit https://openweathermap.org/guide#how to create an account and get your API key
- In
Settings.js
write the following code:
export default { weatherKey: "your API key here" }
- In your
database.json
file, copy and paste the following code:
{ "users": [], "tasks": [], "events": [], "news": [], "messages": [], "friends": [] }
- Serve JSON file utilizing
json-server -w database.json -p 8088
- In a new tab in your terminal,
cd
intosrc
, andserve
- Go to the localhost address in your browser that serve is serving on and register an account