Table of Contents
Here and there in the course of a project I remember that somewhere in the middle of my codes exists a snippet that fit exaclty what I need.So I made this little project to not waste much time searching for, and also to enhance my knowledge of Server Actions on Next 14 and NEXTAUTH.
- Next.JS
- CockroachDB
- Monaco Editor
- Prisma
- NextUI
- TailwindCSS
- Framer-Motion
- NextAuth.js
You can update this project to your own version
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
-
Clone the repo
git clone https://github.com/samuelcolares/dailyTodo.git
-
Install NPM packages
npm install
-
Change DB provider on Prisma.Schema file
datasource db { provider = "cockroachdb" // <-- your choice, could it be mysql, postgre, mongoDB, sqlite... url = env("DATABASE_URL") }
-
Chance variables on your .env file
//create a .env file NEXTAUTH_URL = "YOURPROJECTURL"; NEXTAUTH_SECRET = "YOURNEXTAUTHSECRET"; DATABASE_URL = "YOURDATABASEURL";
-
Start local with
npm run dev
This is an example of how to install locally using NPM, but of course you can use, PNPM, YARN, BUN.
Filter by snippet title name, snippet code and category
Also, Show/Hidden Columns selector and display a total of 5, 10 or 15 snippets per page
- [ X ] Store management (CRUD) using Next14 Server Actions with DB(CockroachDB)
- [ X ] Creating Tables with NextUI (that i shall never use again)
- [ X ] Fetching data to tables
- [ X ] NextAuthJS
Distributed under the MIT License. See LICENSE.txt
for more information.
Samuel Colares - LinkedIn - [email protected]