A full-stack web application built with Next.js and NestJS. A full-stack web application for searching and storing music tracks using the iTunes API. Built with Next.js for the frontend and NestJS for the backend. Data is stored in a PostgreSQL or MongoDB database.
🔍 Search music using iTunes API
💾 Save tracks in your database
🎧 Stream preview clips
🌐 Full-stack TypeScript support
🧠 Shared types between frontend and backend
The project is divided into two main directories:
frontend/: Next.js application with TypeScriptbackend/: NestJS application with TypeScript
- Node.js (v18 or higher)
- npm or yarn
- Git
-
Navigate to the backend directory:
cd backend -
Install dependencies:
npm install
-
Start the development server:
npm run start:dev
The backend server will start on http://localhost:3000 by default.
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install
-
Start the development server:
npm run dev
The frontend application will start on http://localhost:3001 by default.
The backend is built with NestJS and includes:
- TypeScript support
- ESLint for code linting
- Prettier for code formatting
- Jest for testing
The frontend is built with Next.js and includes:
- TypeScript support
- ESLint for code linting
- PostCSS for styling
- Modern React features
npm run start: Start the production servernpm run start:dev: Start the development servernpm run build: Build the applicationnpm run test: Run testsnpm run lint: Run lintingnpx drizzle-kit push npx drizzle-kit generate npx drizzle-kit migrate
npm run dev: Start the development servernpm run build: Build the applicationnpm run start: Start the production servernpm run lint: Run linting
- Create a new branch for your feature
- Make your changes
- Submit a pull request
This project is licensed under the MIT License.