Crowd Plan is a simple and efficient platform designed to streamline event creation and discovery. Built using Next.js, Clerk for authentication, and JSON Server for managing a lightweight database (db.json), this MVP enables organizers to create events and participants to explore them with ease.
- Event Creation: Organizers can create events with relevant details.
- Event Discovery: Participants can search for and view events based on their interests.
- User Authentication: Secure and seamless sign-up and login using Clerk.
- Lightweight Database: Uses
db.jsonpowered by JSON Server for storing event and user data.
- Frontend: Next.js – React framework for server-rendered apps.
- Authentication: Clerk – Secure and user-friendly authentication.
- Database: JSON Server – Quick mock API for
db.json.
- Node.js installed (v14 or later)
- npm or yarn installed
-
Clone the Repository
git clone https://github.com/JasperMunene/crowdplan.git cd crowdplan -
Install Dependencies
npm install
-
Set Up Clerk
- Sign up at Clerk and create a project.
- Copy your Clerk API keys and configure them in your
.env.localfile:NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=<your-clerk-frontend-api> CLERK_SECRET_KEY=<your-clerk-backend-api-key>
-
Run JSON Server
- Ensure you have
db.jsonin the root directory with the following structure:{ "events": [] "users": [] } - Start the JSON Server:
npm json-server --watch db.json --port 3000
- Ensure you have
-
Run the Development Server
npm run dev
Access the app at
http://localhost:3001.
- Sign Up and Log In: Use Clerk's secure authentication to create an account.
- Create Events: Once logged in, navigate to the event creation page to add new events.
- Discover Events: Explore events through a user-friendly interface.
npm run dev: Start the development server.npm run build: Build the application for production.npm run start: Run the production build.json-server --watch db.json --port 3000: Start the JSON Server.
Contributions are welcome! Please fork the repository and submit a pull request.
The content of this site is licensed under the MIT license Copyright (c) 2024.