A platform to reserve the spaces and items managed by UTSA.
Develop documentation: Wiki
- doc.reserve.utsa Repo: https://github.com/utaipei-sa/docs.reserve.utsa
- Swagger UI: http://localhost:3000/docs
- Redoc: http://localhost:3000/redoc
- If you're using Windows OS, connect to WSL first.
- Open project directory.
- Select "Reopen in Container"
- Open your project in one of JetBrains IDEs (WebStorm is recommended).
- Open .devcontainer/devcontainer.json.
- Click the icon near the
{
in the editor, then select "Create Dev Container and Mount Sources...". - Follow the instruction.
-
Install dependencies.
npm install
-
Copy .env file.
cp .env.template .env
-
Fill environment variables in
.env
according to the document. -
Start the dev server.
nodemon
If you don't need auto reload, you can use the following command instead:
npm start
Start Docker Compose containers.
docker compose up -d --build
FRONTEND_BASE_URL
Base URL of website, is used to create verification linkRESERVE_MONGODB_URI
This URI is used when connecting to MongoDB.EMAIL
Email address for sending emailEMAIL_PASSWORD
Password for login to Email address inEMAIL
Welcome!
Don't forget to update the docs after you update some code. (Especially the JSDoc comments of the APIs.)
Why choose JavaScript?
Because it's simple. The CS department of our school has JavaScript-related courses, so there are more students who have JavaScript skills than TypeScript.
That's also the reason why we choose npm.