An open API service indexing awesome lists of open source software.

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.

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]