Giter Site home page Giter Site logo

lifegoals's Introduction

Build-your-own-life-goals workshop

Instructions

  1. Type the command npx create-react-app --template @tymate/cra-template-lifegoals if you haven’t done so already.
  2. Create your own GitHub repo. Make it public, and initialize without README, .gitignore or licence file.
  3. Try getting your fake API by going to https://my-json-server.typicode.com/my-username/my-repo where my-username/my-repo represents the GitHub URI of you repo.
  4. Your App.js file is ready to be read, your mission is explained there, or below.
  5. Don’t forget to edit this README so that it explains your approch & process.

Launching the app

yarn dev

This command will launch the React App as well as the API on port 3001.

Deploying

1. Add homepage to package.json

"homepage": "https://my-username.github.io/my-repo",
yarn deploy

Troubleshooting: GitHub Pages deployment en create-react-app.dev

The mission:

We would like you to create your own life goals app. You will be able to get access to a fake API, located at https://my-json-server.typicode.com/my-username/my-repo/goals.

The app should consist of three pages:

  • A homepage, /, containing the list of you life goals.
  • A goal details page, /:goalId, displaying your life goals in more details. What changes between the homepage and the details page is up to you, but we suggest thinking about truncating or hiding the goals description on the homepage.
  • An admin page, /admin, where you will be able to create, update and delete you life goals. We would like the title, description and imageUrl (consider using Unsplash?) to be mandatory. We would like the completion field to act as checkbox as well as date reference.

Tools

This repo comes with the following libraries installed:

Good luck!

If you want to react out for help, questions or clarifications, we are on twitter, TymateEng

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.