An event organizer application created using Next.js
lib folder is used for database connection, actions, and models
app folder is the routing
Add components folder later for reusable components
Also add authentication using NextAuth
You can probably straight away index the code in Kilo Code and ask questions to it, but you won't be able to run the app without adding the environment variables.
If you want to run the app, then:
Create a .env file with the same variables as .env.example.
You can get a free MongoDB cluster and add its URL and name.
Sign up for MongoDB Atlas free: https://www.mongodb.com/products/platform/atlas-database
NextAuth doc: https://next-auth.js.org/getting-started/example
UploadThing doc: https://docs.uploadthing.com/getting-started/appdir
Then, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
Add the required embedding model and Qdrant URL, and then start codebase indexing.
Once finished, you can ask questions such as:
find the user authentication logicdescribe the database connection and error handlingHappy coding!