Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 898 Bytes

project-3-structure.md

File metadata and controls

40 lines (27 loc) · 898 Bytes

First use Irongenerator to start the project and create the backend

In this example our project will be called 'projector'

$ irongenerate projector

Now we will go into this folder and create a react app there - this will be in a folder called 'client'

$ cd projector
$ npx create-react-app client

Then we also want to remove git from within the client folder - otherwise you will get an error later if you use git in your project

# in: projector/client
$ rm -rf .git

Then we want to add git to the root folder of our project

$ git init

And then make the first commit

$ git add .
$ git commit -m 'initial commit'

Then you go to GitHub, create a new repository for your project, copy the line 'git remote add origin ...' and push to master

Now we have our basic project structure

Happy hacking 💙