Skip to content

App Factory's template for rapid UI development with the platform in React with Vite. Built-in support for type generation, authentication, and syncing to functions, schemas, and apps.

License

Notifications You must be signed in to change notification settings

sassoftware/af-template-vite

Repository files navigation

Your SAS App Factory UI

Welcome to your SAS App Factory UI template! This UI is based on Vite with additional features tailored specifically for building modern Progressive Web Applications (PWA) that seamlessly integrate with App Factory Cloud.

As you begin customizing this template, here's a brief overview of what's included:

  • Standard vite environment
  • Built-in TypeScript support
  • The afcli for syncing TypeScript definitions & hooks for App Factory Cloud functions & schemas
  • Autoconfiguration for App Factory Cloud integration through afcli

Getting Started

  1. Install all dependencies:
# from the top level directory
npm install
  1. Run the template in development mode:
# from the top level directory
npm start

This will launch the development server and open your app in the browser.

Using afcli

This UI was generated using @sassoftware/afcli create. You can use afcli to sync new TypeScript definitions to your computer:

# from the top level directory
npx @sassoftware/afcli@latest sync

For more information on using the CLI, refer to our official documentation and our react UI tutorial.

Customizing the Template

Now that you have a basic understanding of the UI, you can start customizing it to fit your needs. Modify components, add new features, and tailor the application to create a truly unique experience for your users.

Remember to refer to the official Vite documentation and the official TypeScript documentation for any guidance or best practices you might need.

Good luck, and happy coding!

Contributing

We welcome your contributions to the template! Please read CONTRIBUTING.md for details on how to submit contributions to this project.

License

This project is licensed under the Apache 2.0 License.

About

App Factory's template for rapid UI development with the platform in React with Vite. Built-in support for type generation, authentication, and syncing to functions, schemas, and apps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published