A website where I can put my stuff!
Built with React, uses Airtable for data storage, and served via ExpressJS.
Find it live on: https://lbarry.dev/
- Node.js
- React
- Express.js
- Airtable
- Sass
- PM2
- Nodemon
react-scripts start
It's just npm start re-named for consistency. Starts up the React app in dev mode.
Starts on: localhost:3000
nodemon -r dotenv/config server.js
Starts up the Express server in dev mode.
Requires a .env file with the PORT environment variable set, otherwise the server will start on 443.
Starts on: localhost:PORT
react-scripts build
Bundles all of the React front-end into production-ready files and outputs to /build.
pm2 start server.js
Starts the express webserver using the PM2 daemon. For deploying website in production. Run build first.