Giter Site home page Giter Site logo

mileschandler / super-forge Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 2.0 43.41 MB

An opinionated Forge Project Template utilizing the latest and greatest web development tools.

TypeScript 92.10% HTML 7.90%
forge atlassian-forge forge-app react serverless typescript vite

super-forge's Introduction

⚡Super Forge⚡

A super charged Forge project template

💡 About

Super Forge utilizies Vite.js a next generation frontend tool that utilizes hot module reloading to super charge your development experience. It has some built in patterns like type sharing and uses Vitest to provide hot reload unit testing already established.

🔧 Setup

To utilize Atlassian context while developing:

  1. Follow the steps to install Forge CLI
  2. Login to Forge using forge login
  3. Register the app with forge register

Install the app to a site

  1. npm i
  2. cd static/super-forge-frontend
  3. npm i
  4. npm run build
  5. In a separate terminal: forge deploy
  6. forge install -s <your-site>

Local Development

  1. forge tunnel
  2. In a separate terminal: npm run dev

Testing

Testing uses Forge Vitest as the test runner paired with Enzyme for the frontend. To run unit tests

  1. npm run test

To run unit tests in the frontend

  1. cd static/super-forge-frontend
  2. npm run test

❔ FAQ

  • Why does Forge keep asking me to approve access while running forge tunnel?

If you change scope or permissions of your app (in the manifest.yml file), you will need to grant access in that same environment not in tunnel mode.

  • Can I change what module this app type is?

Yes, the Confluence macro is just a default value to get developers started. Feel free to replace the module values with any of the existing Forge app modules.

  • How can I contribute if i'm not the app owner?

Currently Forge is designed for single user development, which means they don't have a good story for adding contributors. To do it manually you will need to run forge register with a name like - and then revert the manifest.yml file before commiting your changes.

super-forge's People

Contributors

mileschandler avatar planetmiles avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ranarim jhony-v

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.