A terminal-style resume website built with React, TypeScript, and Vite.
- Node.js (version 18 or higher recommended)
- npm (comes with Node.js)
Install the dependencies:
npm installRun the development server:
npm run devThe site will be available at http://localhost:5173 (or another port if 5173 is in use).
Build the project:
npm run buildThe built files will be in the dist directory.
Preview the production build locally:
npm run previewRun TypeScript type checking:
npm run typecheckThis is a static site built with Vite. Run npm run build first to generate the dist/ directory, then deploy using any of the platforms below.
Vercel offers the simplest deployment experience and has first-class support for Vite projects.
Via the Vercel dashboard (no CLI required):
- Push your code to a GitHub, GitLab, or Bitbucket repository.
- Go to vercel.com and sign in.
- Click Add New → Project and import your repository.
- Vercel auto-detects Vite. Confirm the settings:
- Framework Preset: Vite
- Build Command:
npm run build - Output Directory:
dist
- Click Deploy.
Every subsequent push to the default branch triggers a new deployment automatically.
Via the Vercel CLI:
npm install -g vercel
vercel login
vercel # deploy (follow the prompts)
vercel --prod # promote to productionNetlify is another excellent option for static sites with a generous free tier.
Via the Netlify dashboard:
- Push your code to a GitHub, GitLab, or Bitbucket repository.
- Go to app.netlify.com and sign in.
- Click Add new site → Import an existing project and connect your repository.
- Set the build settings:
- Build Command:
npm run build - Publish Directory:
dist
- Build Command:
- Click Deploy site.
Via the Netlify CLI:
npm install -g netlify-cli
netlify login
npm run build
netlify deploy --dir=dist # preview deploy
netlify deploy --dir=dist --prod # production deployOptional – netlify.toml config file (place in project root):
[build]
command = "npm run build"
publish = "dist"GitHub Pages provides free hosting directly from your repository.
-
Install the
gh-pageshelper:npm install --save-dev gh-pages
-
Add a
homepagefield and deploy scripts topackage.json:{ "homepage": "https://<your-username>.github.io/<your-repo-name>", "scripts": { "predeploy": "npm run build", "deploy": "gh-pages -d dist" } } -
If the site is served from a sub-path (e.g.
/<repo-name>/), set the base invite.config.ts:export default defineConfig({ base: '/<your-repo-name>/', plugins: [react()], });
-
Deploy:
npm run deploy
-
In your repository on GitHub, go to Settings → Pages and confirm the source is set to the
gh-pagesbranch.
Heroku is a general-purpose platform that can serve static sites using the heroku-buildpack-static buildpack.
Prerequisites: Heroku CLI installed and logged in.
-
Create a
static.jsonfile in the project root:{ "root": "dist/", "clean_urls": true, "routes": { "/**": "index.html" } } -
Add a
package.jsonheroku-postbuildscript so Heroku builds the site:"scripts": { "heroku-postbuild": "npm run build" }
-
Create the Heroku app and attach the static buildpack:
heroku create <your-app-name> heroku buildpacks:add heroku/nodejs heroku buildpacks:add https://github.com/heroku/heroku-buildpack-static git push heroku main
-
Open the deployed site:
heroku open