Skip to content

NewForce-Cohort-4/nutshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nutshell: The Information Dashboard

Setup: Follow these steps exactly

  1. Clone this repository
  2. cd into the directory it creates
  3. Make a database.json file in the api directory
  4. Delete the .ignore file in the api directory

Note: Your database.json file is already in the .gitignore file for this project, so it will never be added to the repo or pushed to Github.

Instructions

Nutshell is a new product offering that you have been tasked with building. It's a dashboard for people to use to organize their daily tasks, events, news article, friends, and chat messages.

You will be utilizing all of the skills and concepts that you've learned up to this point in the course.

  1. Functions
  2. Databases
  3. Github
  4. Objects
  5. CSS/Flexbox
  6. Array methods
  7. Components
  8. Handling user events
  9. Implementing CRUD operations
  10. Relational data
  11. ERDs

To start you off, here's an example of what the resources in your API should look like once it's populated with some data from your application.

Users

{ "id": 1, "email": "[email protected]" }

Messages

{ "id": 1, "userId": 1, "message": "What's up?" }

News

{
    "id": 1,
    "userId": 2,
    "url": "https://www.quantamagazine.org/newfound-wormhole-allows-information-to-escape-black-holes-20171023/",
    "title": "Wormholes Allow Information to Escape Black Holes",
    "synopsis": "Check out this recent discovery about workholes"
}

Friends

{ "id": 1, "userId": 1, "following": 3 }

Tasks

{ "id": 1, "userId": 3, "task": "Take out garbage", "complete": false }

Professional Requirements

  1. Each module should have a comment at the top with the following info: author(s) and purpose of module
  2. The README for your project should include instructions on how another person can download and run the application

A Note About Authentication

We want you to know that the login and registration code we have given you is fake, completely insecure, and would never be implemented in a professional application. It is a simulation authentication using very simplistic tools, because authentication is not a learning objective of students at NewForce.

You will be using session storage to keep track of which user has logged into Nutshell. You need to read the code in the LoginForm, RegisterForm, and LogoutButton components so that you see what is going on, but you do not need to change it.

When the user logs in, they should see their data printed to the DOM. You can accomplish this by retrieving their user Id from session storage and using it to query json-server for their associated data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published