This repo provides a starting point for any single page applications.
- Start your MongoDB server
- Create a .env file under spa_server directory with a secret key and mongodb url:
SECRET_KEY=25BBD370-975D-4D45-8F5A-B3FA92155CCA
MONGO_URL=mongodb://127.0.0.1:27017/test
- Start server by hitting F5 in VS Code or running
dart spa_server/bin/spa_server.dart
in your terminal - Visit http://localhost:8080 in the browser and use Postman to perform the other api calls.
I teach developers to build full-stack applications with Dart and Flutter. If you've found my content helpful and wish to support me in any way, please use the links below:
Many thanks 💙