Skip to content

medyassin-khabthani/testTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APPX (BackAppX Child)

Description

This is an auto generated project from BackAppX api-generator.

Requirements

  • Node.js (version 8 or higher)
  • MongoDB (version 3.4 or higher)
  • NPM (version 5 or higher)
  • Git (version 2 or higher)

Installation

  1. Clone this repository
  2. Install dependencies: npm install

Usage

  1. Run the application: npm start
  2. Open your web browser and go to http://localhost:3000

Configuration

You can configure the application by setting environment variables:

  • PORT: The port on which the application will listen (default: 3000)
  • DATABASE_URL: The URL of the MongoDB database (default: mongodb://localhost:27017/my-node-app)

You can set these environment variables in a .env file in the root directory of the project.

API Endpoints

The application provides the following endpoints:

  • GET /api/register: Create a new user
  • POST /api/login: Sign in
  • GET /api/orders: Get All orders
  • POST /api/stripe: Checkout with stripe

Contributing

If you would like to contribute to this project, please follow these steps:

  1. Fork the repository
  2. Create a new branch: git checkout -b my-feature-branch
  3. Make your changes and commit them: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-feature-branch
  5. Create a pull request

BackAppX

All rights reserved. © 2023

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published