Backend for the ArkTech Links project. This project is a URL shortener that allows users to shorten URLs and view analytics on the shortened URLs.
- Clone the repository
git clone https://github.com/ArkTechOrg/ArkTech-Links-Backend
- Go to the project directory
cd ArkTech-Links-Backend
- Install dependencies
npm i
- Create a
.env.development
file in the root of the project and add the following environment variables (replace the values with your own):
PORT=3000
MONGO_URI="mongodb://localhost:27017/ArkTech-Links"
- Start the server in development mode
npm run dev
The server will start on
http://localhost:3000