- Kotlin android application
- SQLite database
- NodeJS
- Initial setup by following this guide
- Use android studio for development
- Initial empty SQLite database has ben created
- access using
sqlite3
command
-
Navigate into
server/
-
Copy
.env-template
to.env
, which should contain the following variables:SESSION_SECRET
: Secret used to store cookies on the clientPORT
: The port that the server listens onDB_LOC
: The location of the SQLite database file the server uses
-
Run
npm install
to install dependencies -
Run
npm run init_db
to create the database and its tables. -
Run
npm start
to start the server ornpm run dev
to start the user in development mode, which reloads the server on file changes.