I'd love to learn about all the various projects people are building around me, yet I have no way of discovering them. Loop is a platform where builders share their projects and the journey of building them, the rationale behind their choices, the challenges they faced, and how their ideas evolved. Users regularly share project updates to keep everyone in the "loop". Feedback on these updates would hold them accountable, encourage "learning by doing" and create a community where people can connect with like-minded individuals.
- Next.js + NextUI
- Go using Mux
- Postgres DB
Follow these steps to set up the development environment for the project.
Clone the repository to your local machine:
git clone <repository-url>
cd <repository-directory>
- Installations
- Download Go and Node.js
- Download and install PostgreSQL on your local machine.
After installation, create a new PostgreSQL database:
CREATE DATABASE loop;
- Configure Environment Variables Create a .env file in the root directory of the project and add the following database connection details:
DB_HOST=localhost
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=Welcome1
DB_NAME=loop
- . Run the Backend Install Go modules:
go mod tidy
Run the backend server:
go run server.go
Run the frontend
npm run dev