/next-resume-builder

A minimal self-hosted full-stack application for creating resumes

Primary LanguageTypeScript

NextJS Resume Builder

This project is a proof-of-concept starter for a content-based website editor that primarily uses the filesystem for data storage alongside LMDB to fill some of the gaps between that and a full-blown RDBMS. Since most content websites are some variant of a blog, this base should be able to be adapt to many data types.

The primary data source is a tree of directories in the Content Directory, which by default is named content and located at the root of the project.

Getting Started

Install package dependencies:

npm install

Create a user with the create-user script:

npm run create-user

Generate an OpenSSL secret key:

openssl rand -base64 32

Add the resulting secret to your .env.local file under AUTH_SECRET

AUTH_SECRET=XXxXXXxxxxxXxx/xXXXXXXXxx/xxXxxXxxXxxxXXXXx=

Run the development server to try things out:

npm run dev

Alternatively, build and run the optimized production server:

npm run build
npm run start

Open http://localhost:3000 with your browser to see the result.

Test Suite

This project has a Cypress e2e test suite that can run against the development server or the optimized production build via two sets of scripts: e2e-dev and e2e-start both with :headless variants.

e2e-dev is helpful for rapid development, while e2e-start runs faster and is more reflective of production. Remember to run build after any changes for those to apply to e2e-start!