https://github.com/vcjpierre/nextjs-netcore-fullstack
A modern full-stack application built with Next.js frontend and .NET Core backend with PostgreSQL database
https://github.com/vcjpierre/nextjs-netcore-fullstack
docker netcore nextjs postgresql
Last synced: 3 months ago
JSON representation
A modern full-stack application built with Next.js frontend and .NET Core backend with PostgreSQL database
- Host: GitHub
- URL: https://github.com/vcjpierre/nextjs-netcore-fullstack
- Owner: vcjpierre
- Created: 2025-02-25T04:31:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-12T18:59:13.000Z (7 months ago)
- Last Synced: 2025-12-14T01:56:03.956Z (7 months ago)
- Topics: docker, netcore, nextjs, postgresql
- Language: TypeScript
- Homepage:
- Size: 168 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NextJS + .NET Core Full-Stack Application
A modern full-stack application built with Next.js frontend and .NET Core backend with PostgreSQL database.
## Project Structure
```
├── backend/ # .NET Core API
│ ├── Controllers/ # API Controllers
│ ├── Models/ # Data Models
│ ├── Migrations/ # Database Migrations
│ └── Dockerfile # Container configuration
│
└── frontend/ # Next.js Application
├── src/ # Source code
├── public/ # Static files
└── package.json # Dependencies
```
## Backend (.NET Core)
The backend is built with .NET Core 8.0 and includes:
- PostgreSQL database with Entity Framework Core
- REST API with Controllers
- Swagger UI for API documentation
- CORS configuration for Next.js frontend
- Docker support
Running the Backend:
```
cd backend
dotnet restore
dotnet run
```
The API will be available at
## Frontend (Next.js)
The frontend is built with:
```
cd frontend
npm install
npm run dev
```
- Next.js 14
- TypeScript
- Tailwind CSS
- Running the Frontend
Visit to see the application.
## Docker Support
The backend includes Docker configuration for containerization.
```
docker compose up --build
```
## Development Requirements
- .NET Core SDK 8.0
- Node.js 18+
- PostgreSQL
- Docker (optional)
For API documentation, visit /swagger when running the backend in development mode.