Clone the project
git clone https://github.com/nemo0/node-url-shortener
Go to the project directory
cd server
Install dependencies
npm install
Start the server
npm run start
Example:
POST http://localhost:3333/api/short
Content-Type: application/json
{
"origUrl": "[https://nemo.hashnode.dev/an-introduction-to-recursion-using-javascript-ckfgx2nrq001xols17h787f87](https://github.com/cathydev)"
}
Go to project directory
cd client
Install dependencies
npm install
Start react app
npm start