Skip to content

datkingvn/NodeJS-Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Web BLOG - NodeJS

Initialize the Project

To set up the project, please follow these steps:

  1. Start by downloading the source code. Once you have the code on your local machine, navigate to the project's root directory.

  2. Open your terminal or command prompt and run the following command to install the project dependencies:

npm i
  1. Once the dependencies are successfully installed, create a new file named .env in the project's root directory. This file will be used to store your configuration settings.
  2. Open the .env file and configure it according to your needs. It should contain the necessary environment variables for your application to function correctly. Refer to the provided screenshot for an example of how the .env file should look:

alt

  1. After configuring the .env file, you can start the server by running the following command in your terminal or command npm start. Once the server is running, you should see a user interface similar to the screenshot below, indicating that the setup was successful:

alt

That's it! You have now successfully set up the Node.js web blog project. You can proceed to explore and customize the project according to your requirements.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published