/url-shortener

url-shortener

Primary LanguageGo



URL Shortener APP

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.

Frontend Setup (React)

To set up the URL Shortener app frontend, follow these steps:

  1. Clone the repository: git clone https://github.com/rakeshgunduka/url-shortener.git
  2. Navigate to the frontend directory: cd url-shortener-app/url-shortener
  3. Install dependencies: yarn install
  4. Start the development server: yarn start
  5. Open your browser and visit http://localhost:3000 to see the app running.

Backend Setup (Golang)

To set up the URL Shortener app backend, follow these steps:

  1. Clone the repository: git clone https://github.com/rakeshgunduka/url-shortener.git
  2. Navigate to the backend directory: cd url-shortener-app/url-shortener-go
  3. Install dependencies: make tidy
  4. Set up the database and update the database configuration in config/dev.yaml.
  5. Build and run the backend server: make run
  6. The backend server will start running on http://localhost:8000.