ramonrp / 06-api-rest

Exercises from module 06 rest-api from Lemoncode master frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API REST LAB

Description

This is proyect from the master front-end of Lemoncode. You need to start with a boilerplate and make next changes:

  • Adapt existing architecture to new project to show to pages, one a character collection and a second one with character detail.
  • Use ricky morty API REST to get data of character collection and character details.
  • Complete same challenge using ricky morty GRAPHQL API
  • Use live-server package to simulate an API rest. Create api methods using fetch or axios in order to create, or modify data.

Result

I solved each challenge in a different branch in order to keep them separate and accessible.

Instalation

Clone repository and and install dependencies:

npm i

This automatically run postinstall script, to install also live-server dependencies.

Usage

Development server

npm start

You can view the development server at localhost:8080 and live server at localhost:3000

Production build

npm run build:prod

Production files goes to /dist folder

Production dev

npm run build:dev

Author

About

Exercises from module 06 rest-api from Lemoncode master frontend


Languages

Language:TypeScript 89.4%Language:JavaScript 9.8%Language:HTML 0.6%Language:Shell 0.2%