这是indexloc提供的服务,不要输入任何密码
Skip to content

Lsmith2895/BRCC-Code-Sample

Repository files navigation

Web Interview Project

Step 1:

Using any tools provided let's build a TODO web application. The app only needs to do a couple of things. Primarily it is going to interact with the local sqlite3 database. You can find an example of what the basic app should be able to accomplish in the static/example directory.

Most of what needs to be changed in the project is labeled with a TODO. You shouldn't have to spend too much time (if any) setting up configs. All of your work should be done in the UI and Apollo.

Step 2:

You also will create a new About page that will have two or three sentences explaining how you approached the project. (This can be very basic and doesn't require styling, we just want to see a new route created in Next.js and read briefly about the project).

Make sure to finish the acceptance criteria first before moving on to any bonus points.

Reference the React, Apollo, and Next.js Docs for help.

Acceptance Criteria

  • The user should be able to create a new todo item by entering a description and pressing a "+" button.
  • The user should be able to mark a todo item as complete by clicking a checkbox next to the item.
  • The user should be able to delete a todo item by clicking a "Delete" button next to the item.
  • The user should be able to see a count of the total number of todo items and the number of incomplete items.
  • The user will have a link that says "About" that will take them to a new route.

Bonus Points

  • The user should be able to filter the list of todo items by typing in a search box and seeing only the items that match the search criteria.
  • The user should be able to edit the todo item inline by clicking on the description and editing it in place.

Getting Started

  1. Clone the repo
  2. Install Node packages
    yarn set version berry
    yarn
  3. Create an .env from the .env.example.
  4. Run database migration:
    • Run migration
    npx sequelize-cli db:migrate
  5. Start application in development
    yarn dev

Built With

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •