Code Monkey home page Code Monkey logo

ecommerce's Introduction

Description

this is a ecommerce website developed by Luis Evilla :

Technologies:

Backend

  • Node.
  • Express.
  • Mongodb, connected with mongoose.

Frontend

  • React.
  • Redux.

Installation

Visite the repository on GitHub and download the source code.

Go to the root directory and run npm install, and will install all the backend dependencies.

Go to frontend directory and rum npm install, and will will install all the backend dependencies.

Setup

the app need of three enviroment variables. These can be provided, via a .env file in the root directory of the repository, or supply manually before launching the application.

variables:

  1. MONGODB_URL: this will be the url to connect to the mongodb database. By default this will be 'mongodb://localhost/amazona'
  2. PORT: the port for the node server to listen request. By default this will be port 5000.
  3. JWT_SECRET: the JWT secret key to generate authentication tokens. By default this will be 'anySecretKey'.

all this configuration can be over written in the config.js file in the backend/utils directory

Run application.

for run this application on development enviroment, only need two terminal shell and follow the next steps.

go to the project root directy and execute.

foo@bar:~$ npm run dev

the above command will start the server.

foo@bar:~$ npm start 

the last command will launch the frontend app, listenning on port localhost:3000.

ecommerce's People

Contributors

luisfelipeevilla avatar

Watchers

 avatar  avatar

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.