To keep things organized, create a parent directory:
- Navigate to the directory where keep your code (ex. navigate to your module3 directory).
mkdir our-cool-project
NOTE: replace "our-cool-project" with the name you choose for your project π
- Navigate to the parent directory
npx --yes ironlauncher@latest our-cool-project-backend --auth --json
cd our-cool-project-backend
git init
+ make an initial commit- run the backend app in your machine (ex.
npm run dev
)
- Navigate to the parent directory (NOTE: for the next step, make sure you're in the parent directory)
npm --yes create vite@latest our-cool-project-frontend -- --template react
cd our-cool-project-frontend
npm install
(this will install the initial dependencies from Vite)git init
+ make an initial commit- run the frontend app in your machine (ex.
npm run dev
ornpm run dev -- --port 3000
)
- Create an organization on GitHub (ex. "student 1" creates the organization)
- Add "student 2" as a memeber of the organization
- Upload both repos to GitHub
- For each repo, add "student 2" as a collaborator for that repo (ex. "admin").