Welcome to the complete tutorial project for Skapi, featuring a web application that allows users to chat, upload posts, and comment, and even provide an AI image generating service via 3rd party API service.
This tutorial focuses on demonstrating the use of Skapi to build a full-fledged application. The emphasis is on functionality over aesthetics.
This tutorial is deployed at https://tutorial.skapi.com.
You must change the service_id and the owner_id values in service.js
file.
Currently, the values are set to:
- Service ID: "ap220wfRHl9Cw2QqeFEc"
- Owner ID: "f8e16604-69e4-451c-9d90-4410f801c006"
You can retrieve your own service ID and owner ID from your service dashboard.
For more information, please refer to our Skapi Documentation.
This project does not require any build tools. Simply open the index.html
file in your browser, and it will just work.
If you are on remote server, run the following command to host the project:
npm run start 3000
The number 3000 is the port number. You can change it to any port number you want.
You will be able to access the project at http://[your remote server url]:3000
.
While Skapi is compatible with various frameworks, this tutorial utilizes pure static HTML, CSS, and JavaScript. It showcases how even basic static HTML can be used with Skapi to create a complete web application.
The CSS stylings are intentionally minimalistic, yet the application remains fully responsive across different devices.
This tutorial encompasses all aspects of heavy lifting in production-level application, including:
-
Authentication
- Account creation
- Login/Logout functionalities
- Account removal
- Password reset and recovery options
- Profile updates
- Account recovery
- Email verification
- Profile picture uploads
-
Instaclone (Instagram Clone) Features
- Post creation
- Post private posts
- Commenting on posts
- Liking and unliking posts
- Tagging and searching posts by tag
- Indexing posts by likes, comments, users
- Post deletion
-
Simple Chat Room Application
- broadcast text message in chat room
- Send/Receive private text message between users
- List all users in chat room
-
AI Image Generator
- Generate images using AI with given text
- Making a request to 3rd party API with client secret key
All the code in this tutorial is heavily commented, and the comments are written to help you understand the code and the logic behind it.
For easier understanding, the tutorial is written in a way that you can read the code files in the following order:
service.js
index.html
authentication/create-account.html
authentication/forgot-password.html
authentication/reset-password.html
authentication/recover-account.html
authentication/update-profile.html
authentication/email-verification.html
authentication/change-password.html
authentication/remove-account.html
authentication/profile-pic.html
instaclone/instaclone.html
chatroom/chatroom.html
image-generator/image-generator.html