This is a repository containing the official Astroneer.js templates.
Before starting to fire rockets around the galaxy, you need to install the Astroneer CLI globally:
npm install -g @astroneer/cli
Then, you can create a new Astroneer.js project by running the following command:
astroneer new my-astroneer-app
You'll be asked to choose a template to create your project. Choose the template you want and you're ready to go!
Some of the available templates are:
default
: The default template for Astroneer.js.with-prisma
: A template for Astroneer.js with Prisma.
The project structure of an Astroneer.js project is as follows:
my-astroneer-app/
├── src/
│ ├── routes/
│ │ └── hello.ts
│ ├── server.ts
├── .eslintrc.js
├── .gitignore
├── .prettierrc
├── package.json
├── README.md
└── tsconfig.json
For more information, please refer to the official documentation.
Good luck! 🚀