https://github.com/diwashbhattarai999/backend-practice
This repository contains code snippets and a e-commerce project created while learning backend development with Node.js and Express.js.
https://github.com/diwashbhattarai999/backend-practice
Last synced: 2 months ago
JSON representation
This repository contains code snippets and a e-commerce project created while learning backend development with Node.js and Express.js.
- Host: GitHub
- URL: https://github.com/diwashbhattarai999/backend-practice
- Owner: diwashbhattarai999
- Created: 2024-01-10T13:31:48.000Z (over 1 year ago)
- Default Branch: project
- Last Pushed: 2024-02-17T15:14:45.000Z (over 1 year ago)
- Last Synced: 2024-02-17T16:35:46.266Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://hamro-dokaan.onrender.com/
- Size: 43.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Node.js & Express.js Backend Practice
This repository contains code snippets and small projects created while learning backend development with Node.js and Express.js.
## Contents
- [Prerequisites](#prerequisites)
- [Getting Started](#getting-started)
- [Project Structure](#project-structure)
- [Scripts](#scripts)## Prerequisites
- Node.js (version)
- npm or yarn## Getting Started
1. Clone the repository:
```bash
git clone https://github.com/diwashbhattarai999/Backend-practice.git```
2. Navigate to the project folder:
```bash
cd backend-practice
```
3. Install dependencies:```bash
npm install```
4. Run a specific script or example:
```bash
npm run example-name
```## Project Structure
The repository includes small projects, each focusing on specific backend concepts. It is organized by days, and each day contains backend code. The structure may vary for each day, but typically includes:
```bash
/backend-practice
|-- /dayX
|-- /src
|-- /routes
|-- /controllers
|-- /models
|-- /middleware
|-- /config
|-- /public
|-- /views
|-- server.js
|-- .gitignore
|-- /dayY
...
```##### Note: The structure may vary for each project (day).
## Scripts
- npm start: Start the development server
- npm run example-name: Run a specific example## Author
- Diwash Bhattarai, [email protected]