Skip to content

Roger-Melo/codeleap-network

Repository files navigation

An application that performs CRUD functions

Live version

Access the deployed version here.

Run it locally

Clone the repository and then run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

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

Decisions

A short reasoning behind decisions made for the project. A good historical record.

Decisions in a project are never final. But it should serve as a good way for someone to come up to speed on why certain decisions were made.

  • Web Framework. Social networks usually require SEO โ€” e.g., if someone searches for my Instagram profile on Google, it should appear among the top results. Next.js is optimized for SEO and also provides additional features that enable the development of high-quality web applications.

  • Styling. Tailwind CSS follows a mobile-first approach, which ensures the UI is responsive right from the start on mobile devices and smaller screen sizes.

  • Component library. Usability is paramount & consistency is key. Shadcn/ui + Tailwind makes it easier to make sure everything looks nice, neat, symmetrical and spaced correctly. It's built on top of Radix UI, a lib that handles accessibility by default.

  • Data Validation. TypeScript alone is not enough when it comes to validating external data entering the application. Zod ensures that data conforms to the specified schema at both compile time and runtime, providing strong guarantees for data integrity.

  • E2E Tests. Playwright tests simulate real user behavior, ensuring the app works as expected from start to finish when it comes to reading, creating, editing, and deleting posts.

Thanks

You rock ๐Ÿค˜๐Ÿป

Releases

No releases published

Packages

No packages published