Project Setup
As always with Node project, we need to make sure our project is set up correctly before we start building our application.
The instructions below are all found in the project README File, but these are reproduced here for your convenience.
Getting started
Section titled βGetting startedβ- Duplicate the file
.env.example
, and rename your duplicate to.env
- Open a new terminal from the VS Code menu -
Terminal > New Terminal
- In your new terminal, type the following and hit return:
npm i
This process will take a while, so be patient π΄β°
- Once you see the message that everything has been installed, type the following into the terminal and hit return:
npm run setup
Again, this will take a while, so be patient π΄β°
- Finally, from the terminal again, type:
npm run dev
This will start the development server and you can view your project in a web browser by going to http://localhost:3000
.
You should see a landing page that looks like this:
Whatβs next?
Section titled βWhatβs next?βNow that you have your project set up, youβre ready to start building the Epic News project. Letβs get started!