{"repo":"SL-Lee/actix-web-todo-app","free":true,"listed":false,"github":"https://github.com/SL-Lee/actix-web-todo-app","clone":"git clone https://github.com/SL-Lee/actix-web-todo-app.git","description":"A simple todo web application using actix-web, PostgreSQL, Svelte, and Halfmoon","language":"Rust","stars":12,"topics":["actix-web","halfmoon","rust","todo-app","svelte","postgresql"],"license":null,"category":"productivity","readme_excerpt":"actix-web-todo-app A simple todo web application written using the following technologies/frameworks: - actix-web as the backend framework - PostgreSQL as the database - Svelte as the JavaScript frontend framework - Halfmoon as the CSS frontend framework Setup Frontend Before running any of the commands below, make sure you are in the project root. Database Before running any of the commands below, make sure you are in the project root. Note regarding the PQ LIB DIR environment variable: The PQ LIB DIR environment variable is required for compiling pq-sys , a dependency of diesel cli and the diesel library used by the server. Therefore, this environment variable is required every time you compile the server, so you might want to set it in a more persistent location (e.g. in Windows, set it in the system environment variables). The code for setting the PQ LIB DIR environment variable assumes you have PostgreSQL 14.x installed at the default location on Windows -- if you don't, you'll need to change that line accordingly to point to the location of your PostgreSQL installation's libraries. As for why setting the PQ LIB DIR environment variable is required, here are the relevant links: - postgresql - How to fix Rust diesel cli link libpq.lib error on install - Stack Overflow This answer mentions that setting the PQ LIB DIR environment solves the issue of the diesel cli binary not being able to find the libpq library. - pq-sys/README.md at master · sgrif/pq-sys · GitHub The READM","default_branch":null,"files":null,"tree":[],"storefront":"/r/SL-Lee","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SL-Lee/actix-web-todo-app/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}