- For backend side we're using the Rust programmig language, Actix-Web web framework, Sea-Orm and Postgres Database.
-
Pre-Requisites:
- Rust Programming language (Rustup toolchain, Cargo package manager)
- Sea-Orm CLI
- Postgres Database
- Sqlx CLI (optional)
-
For launching the application cd into rust_backend directory and make a .env file at the root of the project, and add database_url, host, port and client_url variables in .env files and assign appropriate values to variables.
-
$ cd rust_backend
after that
-
From the rust_backend/ directory run the following command: $ cargo run
-
The application will be launched on localhost:port, where port is port variable defined in .env file.
- For frontend we'll be using Typescript programming language, Svelte web framework, for styling we'll use Tailwind css framework.
-
Pre-Requisites
- Node
- yarn or npm
- Typescript (optional for global install, IDE with Typescript support like VS Code recommended).
-
To get started, navigate to svelte_frontend/ directory
-
$ cd svelte_frontend
after that
-
From the svelte_frontend/ directory run the following command:
- $ npm install or yarn install, this will download all required packages in package.json
-
Now, run the following command to start the application
- $ yarn dev or
$ npm run dev
- $ yarn dev or