Giter Site home page Giter Site logo

dcsl-mobile's Introduction

DCSL GuideSmiths Phone Catalog

Introduction

The challenge is to create a phone catalogue app from scratch

alt

It contains 2 mandatory parts:

  • A backend folder with necessary code to run a server. "yarn dev" on folder starts a nodemon instance on port 8080. DB is hosted on MongoDB Atlas, so starting a local database is not required.
  • A frontend folder with a React project. "yarn start" to launch it on port 3000.

Planning

Functional description

Mandatory:

  • A REST API providing phones’ information.
    • It can be implemented in whatever language you are most comfortable with (NodeJS / Rails / Java, ...).
    • It should have at least one endpoint:
      • Method: GET
      • Path: /phones
  • A REACT APP allowing the user to browse the phones catalog.
    • The look and feel should not be super sophisticated but it should be decent and somehow responsive so that it doesn’t look terrible on a mobile phone. ○ The home page should display the list of phones. Make sure to display images of them.
    • It should be possible to select a given phone and obtain the phone details view displaying a few more info about that phone.
    • The phones’ information should be retrieved from the above described API.
    • There should be a spinner or placeholder component while the REST API request is ongoing and the app is waiting for phones data.
  • A GitHub public repository holding the code of the above points.
    • It should have a README.md describing the product and explaining how to run both the REST API and the REACT APP.

Nice to have

Technologies

Node.js, Express.js, MongoDB (via Mongoose) for backend, and React and Tailwind for frontend. Some npm packages were also used for development.

Postman Collection

To-do

  • Implement testing: not performed due personal time constraints.
  • State management.

dcsl-mobile's People

Contributors

juanbovo avatar dependabot[bot] avatar

Watchers

James Cloos avatar  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.