ShrinkIt URL shortner built using Express.js, MongoDB, and React. Your links, trimmed and ready to share, in an instant.
To get started with ShrinkIt, follow the steps below:
- Clone the repository.
git clone [email protected]:RishikeshNK/shrinkit.git
cd shrinkit
- Install the necessary dependencies by running
npm install
inclient
andserver
.
cd client
npm install
cd ../server
npm install
-
Configure the
.env
file by following the template in.env.example
inserver
. See Setting up the environment. -
Run the application by running the
client
and theserver
.
cd client
npm run dev
cd server
npm start
- Create a new file called
.env
or copy the.env.example
and rename it to.env
in theserver
folder.
cd server
cp .env.example .env
- Complete the file to add your environment variables.