38 lines
1.8 KiB
Markdown
38 lines
1.8 KiB
Markdown
# Quickstart
|
|
|
|
This quickstart is intended for experienced developers, that are accustomed with concepts like JavaScript, Node.js, SQL and the command line. For a more gentle introduction, see our tutorial on [how to set up your development environment](https://docs.medusajs.com/tutorial/set-up-your-development-environment).
|
|
|
|
## Getting started
|
|
|
|
1. **Install Medusa CLI**
|
|
```bash
|
|
npm install -g @medusajs/medusa-cli
|
|
```
|
|
2. **Create a new Medusa project**
|
|
```
|
|
medusa new my-medusa-store --seed
|
|
```
|
|
3. **Start your Medusa engine**
|
|
```bash
|
|
medusa develop
|
|
```
|
|
4. **Use the API**
|
|
```bash
|
|
curl localhost:9000/store/products | python -m json.tool
|
|
```
|
|
|
|
After these four steps and only a couple of minutes, you now have a complete commerce engine running locally. You may now explore [the documentation](https://docs.medusajs.com/api) to learn how to interact with the Medusa API. You may also add [plugins](https://github.com/medusajs/medusa/tree/master/packages) to your Medusa store by specifying them in your `medusa-config.js` file.
|
|
|
|
## What's next?
|
|
|
|
### Set up a storefront for your Medusa project
|
|
|
|
We have created two starters for you that can help you lay a foundation for your storefront. The starters work with your new server with minimal configuration simply clone the starters from here:
|
|
|
|
- [Nextjs Starter](https://github.com/medusajs/nextjs-starter-medusa)
|
|
- [Gatsby Starter](https://github.com/medusajs/gatsby-starter-medusa)
|
|
|
|
<!-- ### Link you local development to Medusa Cloud (Coming soon!)
|
|
|
|
With your project in local development you can link your Medusa instance to Medusa Cloud - this will allow you to manage your store, view orders and test out the amazing functionalities that you are building. [Get started here](https://docs.medusajs.com/tutorial/linking-your-local-project-with-medusa-cloud). -->
|