Skip to content

MalekD5/CandorEmployee

Repository files navigation

Candor Employee

Candor Employee is Employee Management Directory built with Next.js, Drizzle, Tailwind CSS, and Radix UI. This project is a full-stack application that allows users to create, view, edit, and delete employee records. It also includes a user authentication system using the better-auth library.

Image

Prerequisites

  • Node.js 18.x
  • PostgreSQL

Getting Started

First, initialize .env file with your database credentials:

cp .env.example .env

Fill in the values for the .env file.

DATABASE_URL= # postgres
BETTER_AUTH_SECRET= # random long string
BETTER_AUTH_URL= # this is mostly same as your domain (e.g http://localhost:3000)

Then, install dependencies:

npm install

Now, generate and migrate database tables:

npx drizzle-kit generate
npx drizzle-kit migrate

Then, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the project.

About

Candor Employee project is a task project by Candor Studio to be accepted into their team.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published