Group Members: Vicki Wu (vicki-wu), Jackie Yee (pasteldetective), Raitah Jinnat (raitah.jinnat83@myhunter.cuny.edu), Ashleigh Wong (AshleighWong)
This repository is the client (front-end) starter code for Final Project - Full-Stack CRUD Application.
1. Use the following process to import the Final Project client starter code repository to your GitHub account as the starter codebase
- Log on to GitHub
- Click on the + sign in the top right corner (next to the user icon)
- In the dropdown menu, select "Import repository"
- A new page will open
- In "Your old repository’s clone URL" field, enter:
https://github.com/johnnylaicode/client-starter-code - In "Your new repository details" field, enter your own repository name (e.g., "final-project-client")
- Click on the "Begin import" button to start the process
- After the process completed, your new "final-project-client" repository is created – as a completely independent codebase
- From this point on, you can clone your new repository, make changes, create feature branches, and create/merge pull requests
After creating the starter codebase "final-project-client" repository on GitHub (see above), you can clone it to your local machine. The instructions on how to clone a GitHub repository are available at this link.
- Start a terminal (e.g., Git Bash) on your local machine.
- Go to the "final-project-client" folder, enter the command to install dependencies:
npm install - Start the client application by entering the command:
npm start - After the client application is successfully started, a web browser is automatically opened at the address:
http://localhost:3000
This error indicates that your application uses an algorithm or key size not supported by OpenSSL 3.0.
- If you use Windows, in the
package.jsonfile, set the "scripts" attributes as follows:
"scripts": {
"start": "SET NODE_OPTIONS=--openssl-legacy-provider && react-scripts start",
"build": "SET NODE_OPTIONS=--openssl-legacy-provider && react-scripts build",
...
},
- If you use Mac OSX or Linux, include the following command in the
~/.bash_profileor~/.bashrcfile.
export NODE_OPTIONS=--openssl-legacy-provider