Git Product home page Git Product logo

vite-pern's Introduction

Vite PERN Browser Boilerplate

A simple boilerplate for the PERN stack using Vite.js. It includes Node-Postgres v8.8, Express, React 18, React Router DOM v6.6, Morgan, Axios, jsonwebtoken, bcrypt, dotenv, and Nodemon.

This boilerplate was made using the official Vite template(npm create vite@latest my-app -- --template react) for the client. Then, the backend was built around it. You can find more templates to scaffold your project using Vite, here or community templates on Awesome Vite.js.

Tools

Installation

npx degit seanhagstrom/Vite-PERN my-app
cd my-app
cd client && npm install
cd .. && npm install
npm run start:dev

The above installation should remove the .git history. If it didn't run the following script:

rm -rf .git

Once the .git history has been erased, initialize the project as a git repository with the following command:

git init

Before you run npm run seed, you'll need to update the package.json name to the name of your db and create your database in psql. You can do this from the CLI with the following command:

createdb your_database_name

Happy coding!

vite-pern's People

Contributors

seanhagstrom avatar

Stargazers

Alec Eiber avatar Keith Austin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.