kajlund / website_old

Personal website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebSite kajlund.com

Personal website built using Node.js, Express and Mongoose.

Running

npm install
npm start

The server by default runs on port 3000. It expects some environment variables that can be provided by adding them to a file called .env in the root directory. The following variables are expected:

NODE_ENV=     # development|production
PORT=         # 3000
SECRET=       # Long random string for seeding session cookie
MONGO_URI=    # URI to your mongodb database

Development

Testing

The project uses Jest for testing. Check it out at jestjs.io.

To execute the tests run npm t or npx jest.

About

Personal website


Languages

Language:JavaScript 59.6%Language:Nunjucks 40.3%Language:CSS 0.1%