Skip to content

leogmarzo/simfinity_example

Repository files navigation

Simfinity Example App

This is a Next.js project set up for backend development and testing. The project includes TypeScript support, API routes, and a clean project structure.

Features

  • ✅ Next.js with App Router
  • ✅ TypeScript support
  • ✅ ESLint configuration
  • ✅ API routes for backend functionality
  • ✅ Development server with Turbopack

Getting Started

First, run the development server:

npm run dev

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

API Endpoints

  • GET /api/hello - Basic API endpoint with optional name parameter
  • POST /api/hello - POST endpoint that echoes received data
  • GET /[slug] - Dynamic route example

Project Structure

src/
├── app/
│   ├── api/
│   │   └── hello/
│   │       └── route.ts     # API endpoint
│   ├── [slug]/
│   │   └── route.ts         # Dynamic API route
│   ├── layout.tsx           # Root layout
│   ├── page.tsx             # Home page
│   └── route.ts             # Root API route

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

API Routes

This directory contains example API routes for the headless API app.

For more details, see route.js file convention.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published