Coder Social home page Coder Social logo

pecode-blog's Introduction

Pecode Blog

This project is a blog application built with Nest.js for the backend and Next.js for the frontend.

Clone the Repository

Run the following command to clone the repository:

git clone [email protected]:Olexandr25/pecode-blog.git
cd pecode-blog

Install Backend Dependencies

In the first terminal, ensure you are in the pecode-back directory and install dependencies:

cd pecode-back
npm install

Install Frontend Dependencies

In the second terminal, ensure you are in the pecode-front directory and install dependencies:

cd pecode-front
npm install

Environment Configuration for Backend

Create a .env file in the pecode-back directory based on the example file .env.example:

cp .env.example .env

Environment Configuration for Frontend

Create a .env file in the pecode-front directory based on the example file .env.example:

cp .env.example .env

Start the Backend Server

In the first terminal, ensure you are in the pecode-back directory and start the server:

npm run start:dev

Start the Frontend Server

In the second terminal, ensure you are in the pecode-front directory and start the server:

npm run dev

Access the Applications

Swagger API Documentation

Swagger documentation for the API is available at http://localhost:4000/api. It provides detailed information about the available API endpoints and allows you to test them directly from the browser.

Additional Information

This project uses Nest.js for the backend and Next.js for the frontend. To ensure everything works correctly, make sure you set up the environment variables as specified in the .env.example files and start the servers in the correct order.

If you have any questions or issues, please contact the project author or create an issue in the repository.

pecode-blog's People

Contributors

olexandr25 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.