We're going to need a custom server object for Next.JS in order to run some of the tasks we require.
In this PR, I have created a new Server object, imported express (since next-connect doesn't have a listen() function, will need to look into this.)
Since we're moving away from next.js's built in dev mode, I added nodemon and nodemon.json to setup the hotreload feature, and changed the startup script in the Dockerfile to accomodate.
I also created a basic automatic sql script runner to make sure everyone's local databases are up to date.
We're going to need a custom server object for Next.JS in order to run some of the tasks we require.
In this PR, I have created a new Server object, imported express (since next-connect doesn't have a listen() function, will need to look into this.)
Since we're moving away from next.js's built in dev mode, I added nodemon and nodemon.json to setup the hotreload feature, and changed the startup script in the Dockerfile to accomodate.
I also created a basic automatic sql script runner to make sure everyone's local databases are up to date.
Closes #15