Oooh cicciooooa
- Frontend: Ionic/Angular
- UI: Ionic UI
- Backend: NestJS
- Database: Supabase
Ionic is an open-source mobile UI toolkit for building high-quality, cross-platform native and web app experiences. Check out the Ionic Documentation.
Ionic comes with a rich set of UI components. You can explore them here.
TailwindCSS is a utility-first CSS framework for rapidly building custom designs. If you want to use it, follow the installation guide here.
Angular is a platform for building mobile and desktop web applications. For more information, visit the Angular Overview.
NestJS is a progressive Node.js framework for building efficient, reliable, and scalable server-side applications. Learn more here.
Learn about building mini apps for Telegram here.
For interacting with Telegram in your project, refer to the Telegram JS SDK Documentation.
IMPORTANT If you are using windows, you must use WSL.
- Change Branch: Ensure you are on the dev branch. To change branch:
git checkout dev
- Install Node.js: Ensure you have Node.js version
v20.12.2installed. Use nvm command line to manage nodejs versions - VSCode Extensions: Install the recommended VSCode extensions for Ionic, Angular, Javascript debugger, Thunder Client.
- Global CLI Tools: Install Ionic and Nest CLI globally by running the following commands:
npm install -g @ionic/cli @nestjs/cli localtunnel
-
Environment Variables: Create a file named
.envinside the backend folder and add the required environment variables. You can find the required content here. -
Install Dependencies and Start Backend:
cd backend npm install npm run start:dev
Or start in debug mode if you want:
bash npm run start:debug
- Install Dependencies and Serve Frontend:
cd frontend npm install ionic serve
Test if the backend works correctly using postman or the vscode extension Thunder Client. You can try the endpoints:
done 🎉