Skip to content

GiulianeOliveira/react-challenge

 
 

Repository files navigation

Installation

Install Nocturnal with npm or yarn

  npm install
  or
  yarn add

Layout

Figma Link

Tech Stack

Client:

Features

  • Create an account
  • Login
  • Create Journal
  • Create notes
  • List Journals
  • Click on a Journal
  • List notes
  • List the note content

Additional Features

  • Logout
  • Shows loader when is loading request's
  • Input validations
  • Toasts with user informations
  • Responsive web app: mobile, tablet and desktop

Fuerza Studio

Overview

To complete this assessment, you will need to write a simple React web app, using the code from this repo as starter.

The purpose of this assessment is to assess your skills and approach to composing a simple web app given an API feed. We will also assess the generated HTML, CSS, and JS output.

This assessment is expected to take about 3-5 hours.

What to do?

Your goal is to implement a simple React application, where users will be able to create journals.

Although its a very basic exercise, we will be looking for simple, well-designed, well-commented and clear code in the submission.

How should the application work?

The user of this react application should be able to create an account, login and create a journal and on the journal create notes.

  1. Create an account
  2. Login.
  3. Create Journal.
  4. Create notes.
  5. List Journals.
  6. Click on a Journal.
  7. List notes.
  8. List the note content.

API Usage

API can be launched using npm start. You will need to run npm install once you starting working on the project to install dependencies.

Endpoint Result
/auth/login Login
/auth/signup Sign up
/journals/entries/:id List all journals from user

API

  • post => '/auth/login', user.login'

  • post => '/auth/signup', user.signup'

  • get => '/journals/entries/:id', journal.getEntries'

  • get => '/journals/:id', journal.getJournal'

  • post => '/journals/', journal.create' title : String

  • post => '/journals/entry/:id', journal.addEntry' {content,title} : Object

  • put => '/journals/entry/:id', journal.updateEntry' {content,title} : Object

  • put => '/journals/:id', journal.updateJournal' title : String

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 77.9%
  • TypeScript 21.2%
  • HTML 0.9%