Giter Site home page Giter Site logo

fe's Introduction

Expat-Journal

Expat-Journal BW 2

To setup Dev Environment:

  1. in root yarn install,

  2. yarn create react-app expat-journal

  3. yarn add axios

  4. add JSON server in root of expat-journal react app, yarn global add json-server

  5. Create components folder in project root/src

  6. Create a /img directory in project root

  7. configure end-point at localhost:3000/content use this article for a reference https://blog.eleven-labs.com/en/json-server/

  8. Run JSON Server on a different port since React will be using 3000, src\data\json-server -p 4000 db.json

  9. end points, localhost:3000 React landing Page. localhost:4000/articles localhost:5000/articles

  10. Yarn Start in root of /expat-journal

  11. Add Styled components. yarn add styled-components

  12. Add react-router-dom in the root of expat-journal yarn add react-router-dom

  13. yarn add semantic-ui-react

  14. To start the app, first navigate to /src/data type json-server -p 4000 landingdata.json, the same with -p 5000 {file name unknown at the moment}

To run the app:

  1. VS Code terminal > Split terminal > 3 terminals
  2. first terminal cd src/data
  3. json server -p 5000 ProfileData.json
  4. second terminal cd src/data
  5. json server -p 4000 landingdata.json
  6. third terminal yarn start
  7. right click index.hml run with live server

fe's People

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.