Skip to content

panpan31415/nextjs-evento

Repository files navigation

Next.js Evento Project

This is a practice project built with Next.js, Tailwind CSS, Prisma ORM, and Zod for schema validation. It serves as a demonstration of the skills learned and applied during the development process.

Live Demo

Check out the live demo of the project here: Next.js Evento

Skills Learned

Next.js

  • Server-Side Rendering (SSR): Implemented to improve performance and SEO.
  • Static Site Generation (SSG): Used for pre-rendering pages at build time.
  • API Routes: Created custom API endpoints to handle server-side logic.

Tailwind CSS

  • Utility-First CSS: Styled the application using Tailwind's utility classes for rapid UI development.
  • Responsive Design: Ensured the application is mobile-friendly and responsive.

Prisma ORM

  • Database Management: Used Prisma as an ORM for interacting with the database.
  • Schema Definition: Defined data models and relationships using Prisma schema.
  • Migrations: Managed database migrations and seeding data.

Zod

  • Schema Validation: Utilized Zod for validating data structures and API inputs.
  • Type Safety: Ensured type safety by integrating Zod with TypeScript.

Getting Started

To run the project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yourusername/nextjs-evento.git
  2. Navigate to the project directory:

    cd nextjs-evento
  3. Install dependencies:

    npm install
  4. Set up environment variables: Create a .env file in the root of the project and add your environment variables (e.g., database connection string).

  5. Run database migrations:

    npx prisma migrate dev
  6. Start the development server:

    npm run dev
  7. Open your browser and visit http://localhost:3000 to see the application in action.

Contributing

If you would like to contribute to this project, please fork the repository and create a pull request with your changes. Any contributions, improvements, and suggestions are welcome!

License

This project is licensed under the MIT License.


Happy coding! If you have any questions or need further assistance, feel free to reach out.

About

a peoject to practise nextjs and tailwindcss

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published