Built from scratch with Next.js and React. Integrates a custom CMS with an easy-to-use interface for adding movies, showtimes, and editing pages.
Adding The Lion King on both versions with specific showtimes:
(It takes 183 seconds on the WordPress version and 45 on this version.)
- Clone repository.
- Run
yarn install
. - Set up a PostgreSQL instance.
- Copy
.env.example
to.env
and fill with values. - Run
node modules/dev.js
to populate the database. - Run
yarn run dev
to start the development server.
To build, run yarn run build
. Note: environment variables will be compiled into the build, so don't make it public.
After building, the server can be started with node app.js
.