Skip to content

v1 of my learning playground. React Hooks and Sass as new additions.

Notifications You must be signed in to change notification settings

jaimeferncast/My-Playground

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Jaime's Playground

Version

I use this repo and its different versions to practice new stuff I'm learning.

This project is based on a coding challenge accessible here.

Data is stored in MongoDB Atlas and served through an API REST built using Express.js and Node.js, and deployed to Heroku. Images hosted here.

Client was built with React using Hooks, React Bootstrap components and some Sass, and also deployed to Heroku.

Access the app in the link below!👇

                                       Jaime's Playground

Install

cd client; npm install; cd ../server; npm install;

Paste the following in the .env file:

PORT=5000

DB_NAME=phoneCave

DB_HOST=mongodb://localhost

DOMAIN=http://localhost:3000

Usage

In different terminals:

cd server; npm run dev;
cd client; npm start;

Endpoints Table

Client

Verb Endpoint Result
GET "/" Home page
GET "/teléfonos" Phones list
GET "/teléfonos/:id" Phone details

Server

Verb Endpoint Result
GET "/api/phones" All phones json
GET "/api/phones/:id" Selected phone json fetched by Id

Author

👤 Jaime Fernández-Castaño




This README was generated with ❤️ by readme-md-generator

About

v1 of my learning playground. React Hooks and Sass as new additions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.8%
  • HTML 8.8%
  • SCSS 8.4%