Giter Club home page Giter Club logo

phone-home's Introduction

Phonehome

The Phone Home is an web application that allows you to manage a catalogue of smartphones. You can view the list of available phones, query its details and add new ones.

Local installation

Pre-requirements

Install Node version 16 (currently the latest stable).

If you're using nvm, add it with nvm install --lts.

Install dependencies.

npm install

Run REST API

Start the API server and leave it running:

npm run api

It should display in terminal that the API is connected to the database.

Listening at http://localhost:3333/api
Connected to database!

Run frontend

Open an extra terminal and start the frontend application:

npm start

Development

Task breakdown

Before starting the development, I created a Trello board for this project and created tasks from the assignment document.

Then I added dependencies between tasks, so I produce a graph which would allow me to easily see the scope of the assignment and have present which tasks are minimal, which are optional and their order.

Task breakdown

Also I added some optional tasks on my own as a challenge.

Workspace management

In this project I'm using a monorepo management tool called Nx. It provides a CLI which is useful to quickly start projects thanks to generators for all kind of frameworks and stack. For example, to create this repo I used an option that initializes a React-Express stack.

npx create-nx-workspace@latest phone-home --preset="react-express"

With Nx I can also keep track of the library structure of my project. By running npm run graph we can see the project structure.

Library structure

phone-home's People

Contributors

agarciabz avatar agarciapnp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.