Skip to content

Apollo-Level2-Web-Dev/next-blog-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next Blog Starter

A simple Blog Application Starter Pack built with TypeScript, Express.js.
This project is designed for the Next Level Web Development Bootcamp to help learners practice Prisma hands-on by building a blog platform.


Features

  • TypeScript + Express.js setup
  • Modular project structure
  • Environment configuration with dotenv
  • Ready to extend with blog modules (Posts, Users, etc.)

Installation

Clone the repository:

git clone https://github.com/Apollo-Level2-Web-Dev/next-blog-starter.git
cd next-blog-starter

Install dependencies:

# using npm
npm install

# using yarn
yarn install

# using pnpm
pnpm install

Setup environment variables:

cp .env.example .env

Run the development server:

# using npm
npm run dev

# using yarn
yarn dev

# using pnpm
pnpm dev

Folder Structure

Prisma-Blog/
│── node_modules/          # Dependencies
│── src/
│   ├── app.ts             # Express app configuration
│   ├── server.ts          # Server entry point
│   ├── config/            # Environment & configuration files
│   └── modules/           # Application modules (posts, users, etc.)
│── package.json           # Project metadata & scripts
│── pnpm-lock.yaml         # Lockfile (pnpm)
│── tsconfig.json          # TypeScript configuration
│── README.md              # Documentation

Scripts

# Run in development mode
pnpm dev

# Build for production
pnpm build

# Run production build
pnpm start

Learning Objective

This starter pack is part of the Next Level Web Development Bootcamp curriculum. By using this project, students will learn how to:

  • Connect a Node.js app with Prisma ORM
  • Build modular APIs
  • Manage environment variables
  • Structure scalable backend projects

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published