Skip to content

jeffbuyunhe/personal-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation and Setup

Before running this application, you will need to install Node.js and create a .env file for both the frontend and backend (an example is provided).

Node.js can be downloaded here.

Clone the repository to any directory. Navigate to the ./personal-website/backend folder and modify the variables in the .env.example file at the root of the folder.

Inside the .env.example file you will need to define the following:

FRONTEND_URL="https://localhost:3000/" (already set for you, do not change unless port 3000 is being used elsewhere)
EMAIL_ADDRESS=YOUR EMAIL ADDRESS
EMAIL_KEY=YOUR EMAIL KEY

After this, change the name of the .env.example file to just .env

Finally, install the dependencies with npm install, and run the backend with node app.js.

For the frontend create a new terminal window and navigate to ./personal-website/frontend.

The backend should run on port 3001, but if this changes for any reason you must go into .env.example and change the port to the different one.

NEXT_PUBLIC_BACKEND_URL="http://localhost:3001/" (you probably don't need to change this)

Otherwise, all you have to do is rename .env.example file to just .env like in the backend.

Finally, install the dependencies with npm install, and run the frontend with npm run dev.

You can now visit the website by going to localhost:3000 on any web browser.

About

Personal portfolio website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published