Inspired by Eventbrite, Evently was built to enhance your ablity to create, organize, and manage events with features like authentication, search, dynamic categories, and seamless Stripe powered checkout.
Built with cutting-edge tools like Next.js 14, Tailwind CSS, and Clerk for a secure, scalable, and user-friendly experience.
Set up the project locally on your machine by following these steps. Keep in mind, they are specific to using Windows.
Clone the Repository:
git clone https://github.com/AmberForrester/evently
Navigate to the project directory:
cd evently
Install Required Dependencies:
Run the following command to install the project dependencies using npm:
npm install
Create a new file named .env.local
in the root of your project directory and add the following:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
SIGNING_SECRET=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
MONGODB_URI=
UPLOADTHING_SECRET=
UPLOADTHING_APP_ID=
UPLOADTHING_TOKEN=''
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
STRIPE_WEBHOOK_SECRET=
NEXT_PUBLIC_SERVER_URL=http://localhost:3000/ or your_custom_domain
.env.local
to .gitignore
[!CAUTION] To ensure your sensitive information does not get committed to version control:
.gitignore
file in the root directory..env.local
This step will prevent the .env.local
file from being tracked by Git and keep your sensitive credentials secure.
Use the following links below to help you configure your project for seamless integrations.
Clerk - Customize Session Tokens
Add any claim to your session token that you need -
Following the above documentation to subsribe to all user events -
Listen to events in your Stripe account on your webhook endpoint - Stripe - Webhook Endpoint
Register your endpoint within Stripe - Dashboard
Follow Stripe-hosted page (Next.js) using their interactive working code samples to integrate with Stripe Checkout.
[!WARNING] Make sure within your Stripe Dashboard it is set to "Test Mode"
Simulate payments with your integration using their test cards -
Open your terminal in the project directory and run the following command:
npm run dev
Paste http://localhost:3000
in your browser to view the project.
I have learned that contributions are the heart of what makes the open source community such an amazing place! We are constantly able to learn, grow, inspire eachother, and create incredible things. Any contributions you make are greatly appreciated, we are so lucky to be here together.
If you have a suggestion that would make this project better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Please, don't forget to give the project a :star:!
I appreciate you!
Distributed under the MIT License. See LICENSE.txt
for more information.
Please take some time to check out the links below! I found value in each and every one of them while creating this project, so my hope is that you will to!
[!TIP] Deploy your Next.js application using the Vercel Platform directly from the creators of Next.js