This is a page designed so you can register, log in, retrieve your password by sending an email, and you can also see the services that Andrystylist offers. It is built with an open source headless CMS (Content Management System) based on Node.js.
Technologies Used Node.js: Node.js is a runtime environment that allows us to run JavaScript on the server-side. It's the foundation of our backend.
Strapi: Strapi is an open source headless CMS (Content Management System) based on Node.js. A headless CMS is a CMS that separates the backend from the frontend.
JSON Web Tokens (JWT): JWTs are used for user authentication. When a user logs in, a JWT is generated and sent to the client, which is then included in subsequent requests to authenticate the user.
Cloudinary: Cloudinary is a cloud-based image and video management platform that allows developers to optimize, deliver and transform images and videos quickly and easily.
Api Documentation swagger Swagger is a set of open source tools for designing, building, documenting and using RESTful web services.
El backend utiliza PostgreSQL como base de datos para almacenar información del usuario, datos de servicios y productos.
The backend is deployed on Render, a cloud hosting service, to make it accessible to the frontend and users.
- Git
- Node.js and npm Node >= 18.15 LTS.
-
Clone the repository: https://github.com/anstylist/andrystylist-bed
-
cd andrystylist-bed
-
Run npm install or yarn to install server dependencies.
Before starting the project you must provide the required information in a .env file that must be created in the root of the project directory
HOST=0.0.0.0
PORT=1337
APP_KEYS=kkk
API_TOKEN_SALT=kkk
ADMIN_JWT_SECRET=kkk
TRANSFER_TOKEN_SALT=kkk
JWT_SECRET=kkk
# Database
DATABASE_CLIENT=postgres
DATABASE_FILENAME=kkk
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_NAME=kkk
DATABASE_USERNAME=kkk
DATABASE_PASSWORD=kkk
# Cloudinary
CLOUDINARY_NAME=xxxx
CLOUDINARY_KEY=123456
CLOUDINARY_SECRET=xxxx
# EMAIL
EMAIL_SENDER_USERNAME=a.gmail.email
EMAIL_SENDER_PASSWORD=a gmail app password
Strapi comes with a full featured Command Line Interface (CLI) which lets you scaffold and manage your project in seconds.
Start your Strapi application with autoReload enabled. Learn more
npm run develop
# or
yarn develop
Start your Strapi application with autoReload disabled. Learn more
npm run start
# or
yarn start
Build your admin panel. Learn more
npm run build
# or
yarn build
Strapi gives you many possible deployment options for your project including Strapi Cloud. Browse the deployment section of the documentation to find the best solution for your use case.
-
Clone the repository
-
Run
npm install
to install server dependencies. -
Configure the env running
cp .env.example .env
-
Run
npm run dev
to start the development server.
This project is licensed under the MIT.
- Resource center - Strapi resource center.
- Strapi documentation - Official Strapi documentation.
- Strapi tutorials - List of tutorials made by the core team and the community.
- Strapi blog - Official Strapi blog containing articles made by the Strapi team and the community.
- Changelog - Find out about the Strapi product updates, new features and general improvements.
Feel free to check out the Strapi GitHub repository. Your feedback and contributions are welcome!
- Discord - Come chat with the Strapi community including the core team.
- Forum - Place to discuss, ask questions and find answers, show your Strapi project and get feedback or just talk with other Community members.
- Awesome Strapi - A curated list of awesome things related to Strapi. -->
🤫 Psst! Strapi is hiring.
- Andry Peña - (https://github.com/andrystylist)