You can also access the deployed app at https://rakeshgunduka.me/urlify/.
Swagger API documentation is available at https://rakeshgunduka.me/urlify/api/swagger/index.html.
To set up the URL Shortener app frontend, follow these steps:
- Clone the repository:
git clone https://github.com/rakeshgunduka/url-shortener.git
- Navigate to the frontend directory:
cd url-shortener-app/url-shortener
- Install dependencies:
yarn install
- Start the development server:
yarn start
- Open your browser and visit
http://localhost:3000
to see the app running.
To set up the URL Shortener app backend, follow these steps:
- Clone the repository:
git clone https://github.com/rakeshgunduka/url-shortener.git
- Navigate to the backend directory:
cd url-shortener-app/url-shortener-go
- Install dependencies:
make tidy
- Set up the database and update the database configuration in
config/dev.yaml
. - Build and run the backend server:
make run
- The backend server will start running on
http://localhost:8000
.