This project is a simple web interface for logo design submissions. It's built with a Go-based backend API and a Next.js frontend.
- Image Storage: Images are stored using edgestore.dev.
- Drag and Drop: Users can upload images using a drag and drop interface.
- User Details: User details are stored in the backend API.
The backend API is deployed on DigitalOcean. The frontend is deployed on Netlify and is connected to the backend API.
API URL :- https://206.189.138.245/v1/healthcheck
To use the web interface, visit the deployed site https://logocomp.netlify.app/.
To run the Go backend API locally, you'll need to have Go installed. Follow these steps:
-
Navigate to the directory containing the Go code:
cd <go-directory>
-
Build the Go application:
go build
-
Run the Go application:
./<go-application>
Replace <go-directory>
with the path to the directory containing your Go code, and <go-application>
with the name of your Go application.
The API will start running on its configured port (default is usually :4000
). You can then send requests to localhost:<port>
to interact with the API.
To run the Next.js frontend application locally, you'll need to have Node.js installed. Follow these steps:
-
Navigate to the directory containing the Next.js code:
git clone https://github.com/mayura-andrew/logo-dropbox.git
cd <nextjs-directory>
-
Install the dependencies:
npm install
-
Start the development server:
npm run dev
Replace <nextjs-directory>
with the path to the directory containing your Next.js code.
Visit localhost:4000
in your browser to see the application running.