Frontend Onboarding Project

In this project, you'll be implementing the required frontend pages to make a merchandise store function. This will be using the completed version of the Backend Onboarding Project.

If you're looking for the slides for the presentation, check that out here

How to Run

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

TODOS

Note

This is a HUGE initial project to do. We're planning 2-3 weeks for each of you to work on this, although it's totally possible to finish this earlier. We expect and want you to ask us lots of questions! The best developers ask many questions, and understand that there's really no such thing as a dumb question.

Your task will be to implement all the pages as seen on this Figma.

  • Home Page
    • get all items - completed for you
    • be able to buy an item
    • be able to delete an item
  • Login Page
    • be able to login
  • Create Item Page (only visible if you are logged in)
    • be able to create an item (the api method is completed for you)
  • Your Orders Page (only visible if you are logged in)
    • be able to see all the orders you have made (with the currently logged in user)
  • Navbar Component
    • the logout button shouldn't be visible if you are logged in
    • Clicking logout should log you out, and hide such pages from the navbar