Skip to content

Iskren1990/draw_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draws

Alt

About The Project

Siple SPA client, server & Mongo Atlass aplication based on " 8 day learn Dart language, AngularDart and Shelf_router as server side framework challenge ".

Currently in process of being hosted on Heroku

Built With

1️⃣ Client

2️⃣ Server

Installation

To get a local copy up and running follow these simple example steps.

1️⃣ Download the app or clone the repo:

#️⃣ git clone https://github.com/Iskren1990/draw-client.git

#️⃣ git clone https://github.com/Iskren1990/draw_server.git

Note: Port 3000 and 8080 should not be in use. To validate follow the instructions bellow.

To use local MongoDB change "MONGO_URL" and "SUPER_SECRET_KEY" located in ".env".

2️⃣ install Dart SDK and project packages

In the root folder of the client and server execute:

--Server-- :hash: dart pub get

--Client-- :hash: dart pub global activate webdev #️⃣ dart pub get #️⃣ webdev serve

By default the project uses port 3000 and 8080.

  • to check if it is free for use:

    • In Windows open cmd and paste:

    #️⃣ netstat -aon | find '3000'

    #️⃣ netstat -aon | find '8080'

    • In Linux paste in the terminal:

    #️⃣ sh sudo netstat -anp | grep ':3000'

    #️⃣ sh sudo netstat -anp | grep ':8080'

If the port is in use by other software you can change it by:

  • open " .env " file.

  • change the value " PORT " variable.

    PORT=xxxx

Getting Started

To start the server run:

#️⃣ dart run

To start the client run:

#️⃣ webdev serve

After successful start you will see the URL on which you can access the app.

Usage

Alt

Alt

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Open a issue with request.

Acknowledgements

#️⃣ Great thanks to Creative Bracket, Dev Ed Mahmud Ahsan and freeCodeCamp for the tutorials!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published