<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Cristi Ursachi on Medium]]></title>
        <description><![CDATA[Stories by Cristi Ursachi on Medium]]></description>
        <link>https://medium.com/@cristi_ursachi?source=rss-f4b7d208ff30------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*jujGB5z5RMIC_dpb.jpeg</url>
            <title>Stories by Cristi Ursachi on Medium</title>
            <link>https://medium.com/@cristi_ursachi?source=rss-f4b7d208ff30------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 10:09:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cristi_ursachi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Installing your own parse-server on Windows]]></title>
            <link>https://medium.com/@cristi_ursachi/installing-your-own-parse-server-on-windows-b2c7a2498d19?source=rss-f4b7d208ff30------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2c7a2498d19</guid>
            <category><![CDATA[parse-shut-down]]></category>
            <category><![CDATA[parse]]></category>
            <dc:creator><![CDATA[Cristi Ursachi]]></dc:creator>
            <pubDate>Mon, 01 Feb 2016 08:54:51 GMT</pubDate>
            <atom:updated>2016-02-01T08:58:13.297Z</atom:updated>
            <content:encoded><![CDATA[<p>A few days ago there was a tough <a href="http://blog.parse.com/announcements/moving-on/">announcement </a>made by the Parse team: “<em> Parse’s hosted services will be fully retired on January 28, 2017.</em>” Here, at <a href="http://iqrypt.com/">IQrypt</a>, we’ve made a plugin that encrypts Parse data at the client side and we’ve chosen Parse as initial platform because it was very popular and developers can start with it in minutes.</p><p>Even at the first look, the decision seems very bad for developers, in fact it is not that bad, Parse team made <a href="https://github.com/ParsePlatform/parse-server">parse-server</a> open source and even more they provide guide lines for developers to migrate their apps. So now you can install parse-server wherever you want, either in your preferred cloud or in your own data center for free. There are already some detailed tutorials how you can deploy parse-sever on <a href="https://parse.com/docs/server/guide#deploying">Heroku</a>, <a href="https://medium.com/google-cloud/deploying-parse-server-to-google-app-engine-6bc0b7451d50#.b2vo7cpj4">Google App Engine</a>, or in <a href="http://www.felixrieseberg.com/running-your-own-parse-with-azure-and-docker/">Azure within Docker</a>, but if you are a developer and you are not decided yet what cloud is best for you, then better install it locally where you can easily test it and you will see later about production deployment.</p><p>If you are developing on Windows (using Visual Studio with Xamarin or Android Studio), it will take you about 10 minutes to have a development ready parse-server running without having any prior knowledge about MongoDB or NodeJS.</p><p>So, let’s start:</p><ol><li>Download and install MongoDB community edition (Current Stable Release (3.2.1) ) from <a href="https://www.mongodb.org/downloads#production">here</a>. Installation is straightforward, just Next, Next, Next. (For advanced installation you can follow guide lines <a href="https://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/">here</a>). If you installed it everything by default and you did not changed default data folder, then you will have to create the folder: C:\data\db\ where MongoDB will store database files.</li><li>Start MongoDB server by starting a cmd console and type:</li></ol><pre> &quot;c:\Program Files\MongoDB\Server\3.2\bin\mongod.exe&quot;</pre><p>You will see something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*zPg8tyOjmRgdWTOzDxJG5Q.png" /></figure><p>3. Download and install NodeJS from <a href="https://nodejs.org/en/">here</a>. Again just Next, Next… To check if it is installed correctly, open a cmd console and type:</p><pre>node -v </pre><p>You will see the node version displayed.</p><p>4. Download and install Python version 2.7.11 from <a href="https://www.python.org/downloads/release/python-2711/">here</a>. (Nothing special here too).</p><p>5. Clone (or download the zip) parse-server-example from <a href="https://github.com/ParsePlatform/parse-server-example">here</a>. Open a console window and “cd” to the folder where you have cloned/extracted the example server, eq:</p><pre>cd &quot;C:\parse-server&quot;</pre><p>Then type:</p><pre>npm install</pre><p>You will see something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*lHRxFDDbY1WWVXEnawt0pA.png" /></figure><p>Install parse-server, by typing:</p><pre>npm install -g parse-server</pre><p>You may see some warnings, but you can ignore them.</p><p>6. Go to the parse-server folder(eq: C:\parse-server\) and open index.js in any text editor; you will see something like this:</p><pre>var express = require(‘express’);<br>var ParseServer = require(‘parse-server’).ParseServer;</pre><pre>var databaseUri = process.env.DATABASE_URI || process.env.MONGOLAB_URI</pre><pre>if (!databaseUri) {<br> console.log(‘DATABASE_URI not specified, falling back to localhost.’);<br>}</pre><pre>var api = new ParseServer({<br> databaseURI: databaseUri || ‘mongodb://localhost:27017/dev’,<br> cloud: process.env.CLOUD_CODE_MAIN || __dirname + ‘/cloud/main.js’,<br> appId: process.env.APP_ID || ‘myAppId’,<br> masterKey: process.env.MASTER_KEY || ‘myMasterKey’<br>});<br>// Client-keys like the javascript key or the .NET key are not necessary with parse-server<br>// If you wish you require them, you can set them as options in the initialization above:<br>// javascriptKey, restAPIKey, dotNetKey, clientKey</pre><pre>var app = express();</pre><pre>// Serve the Parse API on the /parse URL prefix<br>var mountPath = process.env.PARSE_MOUNT || ‘/parse’;<br>app.use(mountPath, api);</pre><pre>// Parse Server plays nicely with the rest of your web routes<br>app.get(‘/’, function(req, res) {<br> res.status(200).send(‘I dream of being a web site.’);<br>});</pre><pre>var port = process.env.PORT || 1337;<br>app.listen(port, function() {<br> console.log(‘parse-server-example running on port ‘ + port + ‘.’);<br>});</pre><p>Replace ‘myAppId’ and ‘myMasterKey’ with something you prefer and you are ready to start the server by typing to the console:</p><pre>npm start</pre><p>Server now is started and it’s listening at default port: 1337</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*Je4Mrf8OtMRs-jHFE54dLg.png" /></figure><p>7. Now you can connect from a .NET app to it, by:</p><pre>ParseClient.Configuration config = new ParseClient.Configuration();<br>config.Server = @&quot;http://localhost:1337/parse/&quot;;<br>config.ApplicationId = &quot;your_appId&quot;;</pre><pre>ParseClient.Initialize(config);</pre><p>Parse team does not provide(yet) the Web interface similar with the Dashboard you have now on the parse.com. But only for the data, you can use any MongoDB admin UI, there a lot of them, see a list <a href="https://docs.mongodb.org/ecosystem/tools/administration-interfaces/">here</a>. Parse “classes” are “translated” into “collections” within MongoDB, here is a screenshot from NoSQL Manager where we opened “Patients” class/collection and where we can manage ParseObjects stored there:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*3gdzqizhHeYzOGN3OtK1FQ.png" /></figure><p>That was all, I hope it helps!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2c7a2498d19" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>